Struct atrium_api::types::UnTypedBlobRef
source · pub struct UnTypedBlobRef {
pub cid: String,
pub mime_type: String,
}
Expand description
An untyped blob reference. Some records in the wild still contain this format, but should never write them.
Fields§
§cid: String
§mime_type: String
Trait Implementations§
source§impl Clone for UnTypedBlobRef
impl Clone for UnTypedBlobRef
source§fn clone(&self) -> UnTypedBlobRef
fn clone(&self) -> UnTypedBlobRef
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 UnTypedBlobRef
impl Debug for UnTypedBlobRef
source§impl<'de> Deserialize<'de> for UnTypedBlobRef
impl<'de> Deserialize<'de> for UnTypedBlobRef
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 UnTypedBlobRef
impl PartialEq for UnTypedBlobRef
source§fn eq(&self, other: &UnTypedBlobRef) -> bool
fn eq(&self, other: &UnTypedBlobRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnTypedBlobRef
impl Serialize for UnTypedBlobRef
impl Eq for UnTypedBlobRef
impl StructuralPartialEq for UnTypedBlobRef
Auto Trait Implementations§
impl RefUnwindSafe for UnTypedBlobRef
impl Send for UnTypedBlobRef
impl Sync for UnTypedBlobRef
impl Unpin for UnTypedBlobRef
impl UnwindSafe for UnTypedBlobRef
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