pub type SignedMeta = ECSigned<Meta>;Aliased Type§
pub struct SignedMeta {
pub timestamped_value: Timestamped<Meta>,
pub signature: Vec<u8>,
pub public_key: PublicKey,
}Fields§
§timestamped_value: Timestamped<Meta>§signature: Vec<u8>§public_key: PublicKeyTrait Implementations§
Source§impl FileLike for SignedMeta
impl FileLike for SignedMeta
fn id(&self) -> &Uuid
fn file_type(&self) -> FileType
fn parent(&self) -> &Uuid
fn secret_name(&self) -> &SecretFileName
fn owner(&self) -> Owner
fn explicitly_deleted(&self) -> bool
fn document_hmac(&self) -> Option<&DocumentHmac>
fn user_access_keys(&self) -> &Vec<UserAccessInfo>
fn folder_access_key(&self) -> &EncryptedFolderAccessKey
fn display(&self) -> String
fn is_folder(&self) -> bool
fn is_link(&self) -> bool
fn is_document(&self) -> bool
fn is_root(&self) -> bool
fn access_mode(&self, pk: &Owner) -> Option<UserAccessMode>
Source§impl From<ECSigned<FileMetadata>> for SignedMeta
impl From<ECSigned<FileMetadata>> for SignedMeta
Source§fn from(value: SignedFile) -> Self
fn from(value: SignedFile) -> Self
Converts to this type from the input type.