pub struct BriefBranch {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub status: Option<Box<BranchStatus>>,
pub description: Option<String>,
}Expand description
BriefBranch : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§status: Option<Box<BranchStatus>>§description: Option<String>Implementations§
Source§impl BriefBranch
impl BriefBranch
Sourcepub fn new(name: String) -> BriefBranch
pub fn new(name: String) -> BriefBranch
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for BriefBranch
impl Clone for BriefBranch
Source§fn clone(&self) -> BriefBranch
fn clone(&self) -> BriefBranch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BriefBranch
impl Debug for BriefBranch
Source§impl Default for BriefBranch
impl Default for BriefBranch
Source§fn default() -> BriefBranch
fn default() -> BriefBranch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefBranch
impl<'de> Deserialize<'de> for BriefBranch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BriefBranch
impl PartialEq for BriefBranch
Source§impl Serialize for BriefBranch
impl Serialize for BriefBranch
impl StructuralPartialEq for BriefBranch
Auto Trait Implementations§
impl Freeze for BriefBranch
impl RefUnwindSafe for BriefBranch
impl Send for BriefBranch
impl Sync for BriefBranch
impl Unpin for BriefBranch
impl UnwindSafe for BriefBranch
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