pub struct FileData {
pub file_id: FileId,
pub master_key_id: String,
pub owner: UserId,
pub belongs_to: Option<String>,
pub belongs_to_type: BelongsToType,
pub encrypted_key: String,
pub encrypted_key_alg: String,
pub encrypted_file_name: Option<String>,
pub part_list: Vec<FilePartListItem>,
}
Fields§
§file_id: FileId
§master_key_id: String
§owner: UserId
§belongs_to: Option<String>
§belongs_to_type: BelongsToType
§encrypted_key: String
§encrypted_key_alg: String
§encrypted_file_name: Option<String>
§part_list: Vec<FilePartListItem>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileData
impl<'de> Deserialize<'de> for FileData
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
Auto Trait Implementations§
impl Freeze for FileData
impl RefUnwindSafe for FileData
impl Send for FileData
impl Sync for FileData
impl Unpin for FileData
impl UnwindSafe for FileData
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