pub struct TestAttachmentReference {
pub id: Option<i32>,
pub url: Option<String>,
}Expand description
Reference to test attachment.
Fields§
§id: Option<i32>ID of the attachment.
url: Option<String>Url to download the attachment.
Implementations§
Trait Implementations§
source§impl Clone for TestAttachmentReference
impl Clone for TestAttachmentReference
source§fn clone(&self) -> TestAttachmentReference
fn clone(&self) -> TestAttachmentReference
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 TestAttachmentReference
impl Debug for TestAttachmentReference
source§impl Default for TestAttachmentReference
impl Default for TestAttachmentReference
source§fn default() -> TestAttachmentReference
fn default() -> TestAttachmentReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TestAttachmentReference
impl<'de> Deserialize<'de> for TestAttachmentReference
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 TestAttachmentReference
impl PartialEq for TestAttachmentReference
source§fn eq(&self, other: &TestAttachmentReference) -> bool
fn eq(&self, other: &TestAttachmentReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TestAttachmentReference
impl Serialize for TestAttachmentReference
impl StructuralPartialEq for TestAttachmentReference
Auto Trait Implementations§
impl RefUnwindSafe for TestAttachmentReference
impl Send for TestAttachmentReference
impl Sync for TestAttachmentReference
impl Unpin for TestAttachmentReference
impl UnwindSafe for TestAttachmentReference
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