Struct splits_io_api::Attachment
source · pub struct Attachment {
pub id: Uuid,
pub created_at: Box<str>,
pub filename: Box<str>,
pub url: Box<str>,
}
Expand description
A file that is attached to a Race.
Fields§
§id: Uuid
The unique ID of the attachment.
created_at: Box<str>
The time and date at which this attachment was created on splits.io. This field conforms to ISO 8601.
filename: Box<str>
The filename of the attachment.
url: Box<str>
The URL to use in order to download the attachment.
Implementations§
Trait Implementations§
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 RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin 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