pub struct CloudFile {
pub file: JektFile,
pub key: String,
pub blob_id: String,
}Expand description
A file as a cloud jekt’s manifest carries it (spec §4.4): the file, the key its blob is encrypted under, and the relay’s name for the blob.
Fields§
§file: JektFile§key: StringStandard base64 of a 32-byte AES-256-GCM key, or that key sealed to
the receiving install (is_sealed_key, spec §7).
blob_id: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for CloudFile
impl<'de> Deserialize<'de> for CloudFile
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
impl Eq for CloudFile
impl StructuralPartialEq for CloudFile
Auto Trait Implementations§
impl Freeze for CloudFile
impl RefUnwindSafe for CloudFile
impl Send for CloudFile
impl Sync for CloudFile
impl Unpin for CloudFile
impl UnsafeUnpin for CloudFile
impl UnwindSafe for CloudFile
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