pub struct FullSecretV1 {
pub text: String,
pub files: Vec<SecretFileV1>,
}Fields§
§text: String§files: Vec<SecretFileV1>Implementations§
Source§impl FullSecretV1
impl FullSecretV1
pub fn to_payload(&self) -> Result<Payload, Error>
pub fn total_files(&self) -> usize
Trait Implementations§
Source§impl Clone for FullSecretV1
impl Clone for FullSecretV1
Source§fn clone(&self) -> FullSecretV1
fn clone(&self) -> FullSecretV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FullSecretV1
impl Debug for FullSecretV1
Source§impl<'de> Deserialize<'de> for FullSecretV1
impl<'de> Deserialize<'de> for FullSecretV1
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 FullSecretV1
impl RefUnwindSafe for FullSecretV1
impl Send for FullSecretV1
impl Sync for FullSecretV1
impl Unpin for FullSecretV1
impl UnsafeUnpin for FullSecretV1
impl UnwindSafe for FullSecretV1
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