pub struct CreateBranch {
pub name: String,
pub parent: Option<String>,
pub expires_at: Option<String>,
pub annotations: BTreeMap<String, String>,
}Available on crate feature
neon only.Expand description
How to create a branch.
Fields§
§name: StringIts name.
parent: Option<String>The parent branch (name or id); the project’s default when None.
expires_at: Option<String>When it expires (RFC 3339).
annotations: BTreeMap<String, String>Annotations to set.
Trait Implementations§
Source§impl Clone for CreateBranch
impl Clone for CreateBranch
Source§impl Debug for CreateBranch
impl Debug for CreateBranch
Source§impl Default for CreateBranch
impl Default for CreateBranch
impl Eq for CreateBranch
Source§impl PartialEq for CreateBranch
impl PartialEq for CreateBranch
impl StructuralPartialEq for CreateBranch
Auto Trait Implementations§
impl Freeze for CreateBranch
impl RefUnwindSafe for CreateBranch
impl Send for CreateBranch
impl Sync for CreateBranch
impl Unpin for CreateBranch
impl UnsafeUnpin for CreateBranch
impl UnwindSafe for CreateBranch
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.