pub struct AddedSecretFile {
pub file: EntityId,
pub content: Hash,
pub media_type: Option<String>,
pub size: u64,
pub unprotected_copy: bool,
}Expand description
What adding a secret file did.
Fields§
§file: EntityIdThe secret file.
content: HashThe hash of its content.
media_type: Option<String>Its media type, as its first bytes tell it, if they do.
size: u64Its size in bytes.
unprotected_copy: boolWhether the space holds the same content where the secrets do not protect it, as an ordinary file’s, which every replica can read.
Trait Implementations§
Source§impl Clone for AddedSecretFile
impl Clone for AddedSecretFile
Source§impl Debug for AddedSecretFile
impl Debug for AddedSecretFile
impl Eq for AddedSecretFile
Source§impl PartialEq for AddedSecretFile
impl PartialEq for AddedSecretFile
impl StructuralPartialEq for AddedSecretFile
Auto Trait Implementations§
impl Forget for AddedSecretFile
impl Freeze for AddedSecretFile
impl Move for AddedSecretFile
impl RefUnwindSafe for AddedSecretFile
impl Send for AddedSecretFile
impl Sync for AddedSecretFile
impl Unpin for AddedSecretFile
impl UnsafeUnpin for AddedSecretFile
impl UnwindSafe for AddedSecretFile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.