pub struct TagContents {
pub branch: Option<String>,
pub version: i64,
pub manifest_size: i64,
}Fields§
§branch: Option<String>Branch name that the tag was created on (if any)
version: i64Version number that the tag points to
manifest_size: i64Size of the manifest file in bytes
Implementations§
Source§impl TagContents
impl TagContents
pub fn new(version: i64, manifest_size: i64) -> TagContents
Trait Implementations§
Source§impl Clone for TagContents
impl Clone for TagContents
Source§fn clone(&self) -> TagContents
fn clone(&self) -> TagContents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TagContents
impl Debug for TagContents
Source§impl Default for TagContents
impl Default for TagContents
Source§fn default() -> TagContents
fn default() -> TagContents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TagContents
impl<'de> Deserialize<'de> for TagContents
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TagContents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TagContents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TagContents
impl PartialEq for TagContents
Source§fn eq(&self, other: &TagContents) -> bool
fn eq(&self, other: &TagContents) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TagContents
impl Serialize for TagContents
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TagContents
Auto Trait Implementations§
impl Freeze for TagContents
impl RefUnwindSafe for TagContents
impl Send for TagContents
impl Sync for TagContents
impl Unpin for TagContents
impl UnsafeUnpin for TagContents
impl UnwindSafe for TagContents
Blanket Implementations§
impl<T> Allocation for T
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