Struct rustypaste_cli::config::PasteConfig
source · Expand description
Paste configuration.
Fields§
§oneshot: Option<bool>Whether if the file will disappear after being viewed once.
expire: Option<String>Expiration time for the link.
Trait Implementations§
source§impl Clone for PasteConfig
impl Clone for PasteConfig
source§fn clone(&self) -> PasteConfig
fn clone(&self) -> PasteConfig
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 PasteConfig
impl Debug for PasteConfig
source§impl Default for PasteConfig
impl Default for PasteConfig
source§fn default() -> PasteConfig
fn default() -> PasteConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PasteConfig
impl<'de> Deserialize<'de> for PasteConfig
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