pub struct CipherInfo {
pub adata: AData,
pub ct: String,
}
Expand description
CipherInfo is directly from the JSON returned from privatebin.
Fields§
§adata: AData
additional data about a paste
ct: String
cipher text, in base64
Trait Implementations§
Source§impl AsRef<CipherInfo> for CipherInfo
impl AsRef<CipherInfo> for CipherInfo
Source§fn as_ref(&self) -> &CipherInfo
fn as_ref(&self) -> &CipherInfo
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for CipherInfo
impl Clone for CipherInfo
Source§fn clone(&self) -> CipherInfo
fn clone(&self) -> CipherInfo
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 CipherInfo
impl Debug for CipherInfo
Source§impl<'de> Deserialize<'de> for CipherInfo
impl<'de> Deserialize<'de> for CipherInfo
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 CipherInfo
impl RefUnwindSafe for CipherInfo
impl Send for CipherInfo
impl Sync for CipherInfo
impl Unpin for CipherInfo
impl UnwindSafe for CipherInfo
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