pub struct Attachment {
pub content_type: String,
pub created_at: DateTime,
pub filename: Option<String>,
pub id: String,
pub metadata: Option<BTreeMap<String, Value>>,
pub project_id: String,
pub size_bytes: i64,
pub updated_at: DateTime,
}Fields§
§content_type: String§created_at: DateTime§filename: Option<String>§id: String§metadata: Option<BTreeMap<String, Value>>§project_id: String§size_bytes: i64§updated_at: DateTimeImplementations§
Source§impl Attachment
impl Attachment
pub fn serialize<__S>(
__self: &Attachment,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> Attachment
impl<'de> Attachment
pub fn deserialize<__D>(__deserializer: __D) -> Result<Attachment, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for Attachment
impl Clone for Attachment
Source§impl Debug for Attachment
impl Debug for Attachment
Source§impl<'de> Deserialize<'de> for Attachment
impl<'de> Deserialize<'de> for Attachment
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
Auto Trait Implementations§
impl Freeze for Attachment
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnsafeUnpin for Attachment
impl UnwindSafe for Attachment
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