pub struct CreatePasteRequest {
pub content: String,
pub title: Option<String>,
pub language: Option<String>,
pub visibility: Option<PasteVisibility>,
pub expiration: Option<PasteExpiration>,
pub category: Option<PasteCategory>,
pub tags: Option<String>,
pub max_views: Option<u32>,
pub password: Option<String>,
pub burn_after_read: Option<bool>,
pub folder_id: Option<u64>,
pub encrypted: Option<bool>,
}Fields§
§content: String§title: Option<String>§language: Option<String>§visibility: Option<PasteVisibility>§expiration: Option<PasteExpiration>§category: Option<PasteCategory>§max_views: Option<u32>§password: Option<String>§burn_after_read: Option<bool>§folder_id: Option<u64>§encrypted: Option<bool>Trait Implementations§
Source§impl Debug for CreatePasteRequest
impl Debug for CreatePasteRequest
Auto Trait Implementations§
impl Forget for CreatePasteRequest
impl Freeze for CreatePasteRequest
impl RefUnwindSafe for CreatePasteRequest
impl Send for CreatePasteRequest
impl Sync for CreatePasteRequest
impl Unpin for CreatePasteRequest
impl UnsafeUnpin for CreatePasteRequest
impl UnwindSafe for CreatePasteRequest
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