pub struct ImmutableReleases {
pub enabled: bool,
pub enforced_by_owner: bool,
}Expand description
Repository immutable-release capability reported by GitHub.
Fields§
§enabled: boolWhether immutable releases are enabled for the repository.
enforced_by_owner: boolWhether the setting is enforced by the organization and cannot be changed at repository scope.
Trait Implementations§
Source§impl Clone for ImmutableReleases
impl Clone for ImmutableReleases
Source§fn clone(&self) -> ImmutableReleases
fn clone(&self) -> ImmutableReleases
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImmutableReleases
Source§impl Debug for ImmutableReleases
impl Debug for ImmutableReleases
Source§impl Default for ImmutableReleases
impl Default for ImmutableReleases
Source§fn default() -> ImmutableReleases
fn default() -> ImmutableReleases
Returns the “default value” for a type. Read more
impl Eq for ImmutableReleases
Source§impl<'ʄ> Facet<'ʄ> for ImmutableReleases
impl<'ʄ> Facet<'ʄ> for ImmutableReleases
Source§impl PartialEq for ImmutableReleases
impl PartialEq for ImmutableReleases
impl StructuralPartialEq for ImmutableReleases
Auto Trait Implementations§
impl Freeze for ImmutableReleases
impl RefUnwindSafe for ImmutableReleases
impl Send for ImmutableReleases
impl Sync for ImmutableReleases
impl Unpin for ImmutableReleases
impl UnsafeUnpin for ImmutableReleases
impl UnwindSafe for ImmutableReleases
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.