pub struct DraftImageAttachment {
pub id: String,
pub uri: String,
pub source_uri: Option<String>,
pub local_path: Option<String>,
pub display_name: String,
pub mime_type: Option<String>,
pub size_bytes: Option<i64>,
}Fields§
§id: String§uri: String§source_uri: Option<String>§local_path: Option<String>§display_name: String§mime_type: Option<String>§size_bytes: Option<i64>Trait Implementations§
Source§impl Clone for DraftImageAttachment
impl Clone for DraftImageAttachment
Source§fn clone(&self) -> DraftImageAttachment
fn clone(&self) -> DraftImageAttachment
Returns a duplicate 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 DraftImageAttachment
impl Debug for DraftImageAttachment
Source§impl Default for DraftImageAttachment
impl Default for DraftImageAttachment
Source§fn default() -> DraftImageAttachment
fn default() -> DraftImageAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DraftImageAttachmentwhere
DraftImageAttachment: Default,
impl<'de> Deserialize<'de> for DraftImageAttachmentwhere
DraftImageAttachment: Default,
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 DraftImageAttachment
impl PartialEq for DraftImageAttachment
Source§impl Serialize for DraftImageAttachment
impl Serialize for DraftImageAttachment
impl Eq for DraftImageAttachment
impl StructuralPartialEq for DraftImageAttachment
Auto Trait Implementations§
impl Freeze for DraftImageAttachment
impl RefUnwindSafe for DraftImageAttachment
impl Send for DraftImageAttachment
impl Sync for DraftImageAttachment
impl Unpin for DraftImageAttachment
impl UnsafeUnpin for DraftImageAttachment
impl UnwindSafe for DraftImageAttachment
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