pub struct NtfyAttachment {
pub name: String,
pub url: String,
pub type: Option<String>,
pub size: Option<u64>,
pub expires: Option<u64>,
}Fields§
§name: String§url: String§type: Option<String>§size: Option<u64>§expires: Option<u64>Trait Implementations§
Source§impl Clone for NtfyAttachment
impl Clone for NtfyAttachment
Source§fn clone(&self) -> NtfyAttachment
fn clone(&self) -> NtfyAttachment
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 NtfyAttachment
impl Debug for NtfyAttachment
Source§impl Default for NtfyAttachment
impl Default for NtfyAttachment
Source§fn default() -> NtfyAttachment
fn default() -> NtfyAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NtfyAttachment
impl<'de> Deserialize<'de> for NtfyAttachment
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 NtfyAttachment
impl RefUnwindSafe for NtfyAttachment
impl Send for NtfyAttachment
impl Sync for NtfyAttachment
impl Unpin for NtfyAttachment
impl UnwindSafe for NtfyAttachment
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