Struct ys_core::SnapShotData
source · pub struct SnapShotData {
pub kind: u32,
pub message: String,
pub authors: BTreeSet<AuthorID>,
}
Fields§
§kind: u32
快照类型, fix, test 或者其他
message: String
The message added with the commit.
The author ids of the commit.
Trait Implementations§
source§impl Clone for SnapShotData
impl Clone for SnapShotData
source§fn clone(&self) -> SnapShotData
fn clone(&self) -> SnapShotData
Returns a copy 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 SnapShotData
impl Debug for SnapShotData
source§impl<'de> Deserialize<'de> for SnapShotData
impl<'de> Deserialize<'de> for SnapShotData
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 SnapShotData
impl PartialEq for SnapShotData
source§fn eq(&self, other: &SnapShotData) -> bool
fn eq(&self, other: &SnapShotData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SnapShotData
impl Serialize for SnapShotData
impl Eq for SnapShotData
impl StructuralPartialEq for SnapShotData
Auto Trait Implementations§
impl Freeze for SnapShotData
impl RefUnwindSafe for SnapShotData
impl Send for SnapShotData
impl Sync for SnapShotData
impl Unpin for SnapShotData
impl UnwindSafe for SnapShotData
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