pub struct PasteCreated {
pub id: String,
pub url: String,
pub raw_url: String,
pub delete_token: String,
pub expires_at: Option<String>,
pub max_views: Option<u32>,
}Fields§
§id: String§url: String§raw_url: String§delete_token: String§expires_at: Option<String>§max_views: Option<u32>Trait Implementations§
Source§impl Debug for PasteCreated
impl Debug for PasteCreated
Source§impl<'de> Deserialize<'de> for PasteCreated
impl<'de> Deserialize<'de> for PasteCreated
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 Forget for PasteCreated
impl Freeze for PasteCreated
impl RefUnwindSafe for PasteCreated
impl Send for PasteCreated
impl Sync for PasteCreated
impl Unpin for PasteCreated
impl UnsafeUnpin for PasteCreated
impl UnwindSafe for PasteCreated
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