Type Alias lb_rs::shared::signed_file::SignedFile
source · pub type SignedFile = ECSigned<FileMetadata>;Aliased Type§
struct SignedFile {
pub timestamped_value: Timestamped<FileMetadata>,
pub signature: Vec<u8>,
pub public_key: PublicKey,
}Fields§
§timestamped_value: Timestamped<FileMetadata>§signature: Vec<u8>§public_key: PublicKeyTrait Implementations§
source§impl AsRef<FileMetadata> for SignedFile
impl AsRef<FileMetadata> for SignedFile
source§fn as_ref(&self) -> &FileMetadata
fn as_ref(&self) -> &FileMetadata
Converts this type into a shared reference of the (usually inferred) input type.