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 ProtectedBranches
impl Sync for ProtectedBranches
impl Unpin for ProtectedBranches
impl UnsafeUnpin for ProtectedBranches
impl UnwindSafe for ProtectedBranches
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.