pub struct WebBranchListItem {
pub dev_meta: Option<Vec<i64>>,
pub associated_pull_request: Option<Value>,
pub ahead: Option<i64>,
pub ahead_behind: Option<Value>,
pub name: Option<String>,
pub is_head: Option<bool>,
pub is_protected: Option<bool>,
pub behind: Option<i64>,
pub commit: Option<Value>,
}
Expand description
WebBranchListItem 模型
Fields§
§dev_meta: Option<Vec<i64>>
§associated_pull_request: Option<Value>
§ahead: Option<i64>
§ahead_behind: Option<Value>
§name: Option<String>
§is_head: Option<bool>
§is_protected: Option<bool>
§behind: Option<i64>
§commit: Option<Value>
Trait Implementations§
Source§impl Clone for WebBranchListItem
impl Clone for WebBranchListItem
Source§fn clone(&self) -> WebBranchListItem
fn clone(&self) -> WebBranchListItem
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 WebBranchListItem
impl Debug for WebBranchListItem
Source§impl<'de> Deserialize<'de> for WebBranchListItem
impl<'de> Deserialize<'de> for WebBranchListItem
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
Auto Trait Implementations§
impl Freeze for WebBranchListItem
impl RefUnwindSafe for WebBranchListItem
impl Send for WebBranchListItem
impl Sync for WebBranchListItem
impl Unpin for WebBranchListItem
impl UnwindSafe for WebBranchListItem
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