pub struct ArtifactSize(/* private fields */);Expand description
Authoritative plaintext byte length of an immutable artifact.
Implementations§
Source§impl ArtifactSize
impl ArtifactSize
Trait Implementations§
Source§impl Clone for ArtifactSize
impl Clone for ArtifactSize
Source§fn clone(&self) -> ArtifactSize
fn clone(&self) -> ArtifactSize
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 moreimpl Copy for ArtifactSize
Source§impl Debug for ArtifactSize
impl Debug for ArtifactSize
Source§impl<'de> Deserialize<'de> for ArtifactSize
impl<'de> Deserialize<'de> for ArtifactSize
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArtifactSize, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArtifactSize, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ArtifactSize
Source§impl From<u64> for ArtifactSize
impl From<u64> for ArtifactSize
Source§fn from(value: u64) -> ArtifactSize
fn from(value: u64) -> ArtifactSize
Converts to this type from the input type.
Source§impl Hash for ArtifactSize
impl Hash for ArtifactSize
Source§impl Ord for ArtifactSize
impl Ord for ArtifactSize
Source§fn cmp(&self, other: &ArtifactSize) -> Ordering
fn cmp(&self, other: &ArtifactSize) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ArtifactSize
impl PartialEq for ArtifactSize
Source§impl PartialOrd for ArtifactSize
impl PartialOrd for ArtifactSize
Source§impl Serialize for ArtifactSize
impl Serialize for ArtifactSize
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 ArtifactSize
Auto Trait Implementations§
impl Forget for ArtifactSize
impl Freeze for ArtifactSize
impl Move for ArtifactSize
impl RefUnwindSafe for ArtifactSize
impl Send for ArtifactSize
impl Sync for ArtifactSize
impl Unpin for ArtifactSize
impl UnsafeUnpin for ArtifactSize
impl UnwindSafe for ArtifactSize
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