pub struct LibraryEncryptionStatus {
pub phase: String,
pub processed_items: u64,
pub total_items: u64,
pub last_error: Option<String>,
pub password_protected: bool,
pub target_password_protected: Option<bool>,
}Expand description
Where the password protection of a library stands (/libraries/{id}/encryption).
Setting, changing or removing the password re-encrypts the stored files in the
background: the library’s files cannot be read or written meanwhile.
Fields§
§phase: Stringidle (never changed), running, completed, or failed (the server tries
again by itself).
processed_items: u64§total_items: u64§last_error: Option<String>§password_protected: bool§target_password_protected: Option<bool>While the files are re-encrypted: whether the library will have a password.
Trait Implementations§
Source§impl Clone for LibraryEncryptionStatus
impl Clone for LibraryEncryptionStatus
Source§impl Debug for LibraryEncryptionStatus
impl Debug for LibraryEncryptionStatus
Source§impl<'de> Deserialize<'de> for LibraryEncryptionStatus
impl<'de> Deserialize<'de> for LibraryEncryptionStatus
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 LibraryEncryptionStatus
Source§impl PartialEq for LibraryEncryptionStatus
impl PartialEq for LibraryEncryptionStatus
Source§impl Serialize for LibraryEncryptionStatus
impl Serialize for LibraryEncryptionStatus
impl StructuralPartialEq for LibraryEncryptionStatus
Auto Trait Implementations§
impl Forget for LibraryEncryptionStatus
impl Freeze for LibraryEncryptionStatus
impl Move for LibraryEncryptionStatus
impl RefUnwindSafe for LibraryEncryptionStatus
impl Send for LibraryEncryptionStatuswhere
RawVecInner: Send,
impl Sync for LibraryEncryptionStatuswhere
RawVecInner: Sync,
impl Unpin for LibraryEncryptionStatus
impl UnsafeUnpin for LibraryEncryptionStatus
impl UnwindSafe for LibraryEncryptionStatuswhere
RawVecInner: UnwindSafe,
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