pub struct BranchEvent {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub time: Option<String>,
pub branch: Option<Box<BriefBranch>>,
pub user: Option<Box<BriefUser>>,
pub type: Option<Box<BranchEventType>>,
}Expand description
BranchEvent : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§time: Option<String>§branch: Option<Box<BriefBranch>>§user: Option<Box<BriefUser>>§type: Option<Box<BranchEventType>>Implementations§
Source§impl BranchEvent
impl BranchEvent
Sourcepub fn new() -> BranchEvent
pub fn new() -> BranchEvent
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for BranchEvent
impl Clone for BranchEvent
Source§fn clone(&self) -> BranchEvent
fn clone(&self) -> BranchEvent
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 BranchEvent
impl Debug for BranchEvent
Source§impl Default for BranchEvent
impl Default for BranchEvent
Source§fn default() -> BranchEvent
fn default() -> BranchEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BranchEvent
impl<'de> Deserialize<'de> for BranchEvent
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 BranchEvent
impl PartialEq for BranchEvent
Source§impl Serialize for BranchEvent
impl Serialize for BranchEvent
impl StructuralPartialEq for BranchEvent
Auto Trait Implementations§
impl Freeze for BranchEvent
impl RefUnwindSafe for BranchEvent
impl Send for BranchEvent
impl Sync for BranchEvent
impl Unpin for BranchEvent
impl UnwindSafe for BranchEvent
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