pub struct DeliveryBlobDigestV1(/* private fields */);Implementations§
Source§impl DeliveryBlobDigestV1
impl DeliveryBlobDigestV1
pub fn new( value: impl Into<String>, ) -> Result<DeliveryBlobDigestV1, DeliveryDigestError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for DeliveryBlobDigestV1
impl Clone for DeliveryBlobDigestV1
Source§fn clone(&self) -> DeliveryBlobDigestV1
fn clone(&self) -> DeliveryBlobDigestV1
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 DeliveryBlobDigestV1
impl Debug for DeliveryBlobDigestV1
Source§impl<'de> Deserialize<'de> for DeliveryBlobDigestV1
impl<'de> Deserialize<'de> for DeliveryBlobDigestV1
Source§fn deserialize<D>(
deserializer: D,
) -> Result<DeliveryBlobDigestV1, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<DeliveryBlobDigestV1, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DeliveryBlobDigestV1
impl Display for DeliveryBlobDigestV1
impl Eq for DeliveryBlobDigestV1
Source§impl FromStr for DeliveryBlobDigestV1
impl FromStr for DeliveryBlobDigestV1
Source§type Err = DeliveryDigestError
type Err = DeliveryDigestError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<DeliveryBlobDigestV1, <DeliveryBlobDigestV1 as FromStr>::Err>
fn from_str( value: &str, ) -> Result<DeliveryBlobDigestV1, <DeliveryBlobDigestV1 as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for DeliveryBlobDigestV1
impl Hash for DeliveryBlobDigestV1
Source§impl Ord for DeliveryBlobDigestV1
impl Ord for DeliveryBlobDigestV1
Source§fn cmp(&self, other: &DeliveryBlobDigestV1) -> Ordering
fn cmp(&self, other: &DeliveryBlobDigestV1) -> 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 DeliveryBlobDigestV1
impl PartialEq for DeliveryBlobDigestV1
Source§impl PartialOrd for DeliveryBlobDigestV1
impl PartialOrd for DeliveryBlobDigestV1
Source§impl Serialize for DeliveryBlobDigestV1
impl Serialize for DeliveryBlobDigestV1
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 DeliveryBlobDigestV1
Auto Trait Implementations§
impl Freeze for DeliveryBlobDigestV1
impl RefUnwindSafe for DeliveryBlobDigestV1
impl Send for DeliveryBlobDigestV1
impl Sync for DeliveryBlobDigestV1
impl Unpin for DeliveryBlobDigestV1
impl UnsafeUnpin for DeliveryBlobDigestV1
impl UnwindSafe for DeliveryBlobDigestV1
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