pub struct TestAttachment {
pub attachment_type: Option<AttachmentType>,
pub comment: Option<String>,
pub created_date: Option<OffsetDateTime>,
pub file_name: Option<String>,
pub id: Option<i32>,
pub size: Option<i64>,
pub url: Option<String>,
}Fields§
§attachment_type: Option<AttachmentType>Attachment type.
comment: Option<String>Comment associated with attachment.
created_date: Option<OffsetDateTime>Attachment created date.
file_name: Option<String>Attachment file name
id: Option<i32>ID of the attachment.
size: Option<i64>Attachment size.
url: Option<String>Attachment Url.
Implementations§
Trait Implementations§
Source§impl Clone for TestAttachment
impl Clone for TestAttachment
Source§fn clone(&self) -> TestAttachment
fn clone(&self) -> TestAttachment
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 TestAttachment
impl Debug for TestAttachment
Source§impl Default for TestAttachment
impl Default for TestAttachment
Source§fn default() -> TestAttachment
fn default() -> TestAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestAttachment
impl<'de> Deserialize<'de> for TestAttachment
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 TestAttachment
impl PartialEq for TestAttachment
Source§impl Serialize for TestAttachment
impl Serialize for TestAttachment
impl StructuralPartialEq for TestAttachment
Auto Trait Implementations§
impl Freeze for TestAttachment
impl RefUnwindSafe for TestAttachment
impl Send for TestAttachment
impl Sync for TestAttachment
impl Unpin for TestAttachment
impl UnwindSafe for TestAttachment
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