pub struct SecretFile {
pub filename: String,
pub content: Arc<Vec<u8>>,
}Fields§
§filename: String§content: Arc<Vec<u8>>Implementations§
Trait Implementations§
Source§impl Clone for SecretFile
impl Clone for SecretFile
Source§fn clone(&self) -> SecretFile
fn clone(&self) -> SecretFile
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 moreAuto Trait Implementations§
impl Freeze for SecretFile
impl RefUnwindSafe for SecretFile
impl Send for SecretFile
impl Sync for SecretFile
impl Unpin for SecretFile
impl UnsafeUnpin for SecretFile
impl UnwindSafe for SecretFile
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