pub struct ProtectedBranches {
pub patterns: Vec<String>,
pub note: Option<String>,
}Expand description
The protected branch names and * patterns of one project (short names),
and what could not be read of them.
Fields§
§patterns: Vec<String>§note: Option<String>Part of the answer is missing (rulesets the token cannot read, a restriction that names a branching model): English, shown beside the list.
Implementations§
Trait Implementations§
Source§impl Clone for ProtectedBranches
impl Clone for ProtectedBranches
Source§impl Debug for ProtectedBranches
impl Debug for ProtectedBranches
Source§impl Default for ProtectedBranches
impl Default for ProtectedBranches
impl Eq for ProtectedBranches
Source§impl PartialEq for ProtectedBranches
impl PartialEq for ProtectedBranches
impl StructuralPartialEq for ProtectedBranches
Auto Trait Implementations§
impl Forget for ProtectedBranches
impl Freeze for ProtectedBranches
impl Move for ProtectedBranches
impl RefUnwindSafe for ProtectedBranches
impl Send for ProtectedBrancheswhere
RawVecInner: Send,
impl Sync for ProtectedBrancheswhere
RawVecInner: Sync,
impl Unpin for ProtectedBranches
impl UnsafeUnpin for ProtectedBrancheswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ProtectedBrancheswhere
RawVecInner: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.