[−][src]Struct ironoxide::document::advanced::DocumentEncryptUnmanagedResult
Encrypted document bytes and metadata.
Unmanaged encryption does not store document access information with the webservice,
but rather returns the access information as encrypted_deks
. Both the encrypted_data
and
encrypted_deks
must be used to decrypt the document.
Result from document_encrypt_unmanaged.
Implementations
impl DocumentEncryptUnmanagedResult
[src]
pub fn encrypted_data(&self) -> &[u8]
[src]
Bytes of encrypted document data
pub fn encrypted_deks(&self) -> &[u8]
[src]
Bytes of EDEKs of users/groups that have been granted access to encrypted_data
pub fn id(&self) -> &DocumentId
[src]
ID of the document
pub fn grants(&self) -> &[UserOrGroup]
[src]
Users and groups the document was successfully encrypted to
pub fn access_errs(&self) -> &[DocAccessEditErr]
[src]
Errors resulting from failure to encrypt
Trait Implementations
impl Clone for DocumentEncryptUnmanagedResult
[src]
pub fn clone(&self) -> DocumentEncryptUnmanagedResult
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DocumentEncryptUnmanagedResult
[src]
impl Eq for DocumentEncryptUnmanagedResult
[src]
impl Hash for DocumentEncryptUnmanagedResult
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DocumentEncryptUnmanagedResult> for DocumentEncryptUnmanagedResult
[src]
pub fn eq(&self, other: &DocumentEncryptUnmanagedResult) -> bool
[src]
pub fn ne(&self, other: &DocumentEncryptUnmanagedResult) -> bool
[src]
impl StructuralEq for DocumentEncryptUnmanagedResult
[src]
impl StructuralPartialEq for DocumentEncryptUnmanagedResult
[src]
impl TryFrom<DocumentEncryptUnmanagedResult> for EncryptedBlindIndexSalt
[src]
type Error = IronOxideErr
The type returned in the event of a conversion error.
pub fn try_from(
r: DocumentEncryptUnmanagedResult
) -> Result<EncryptedBlindIndexSalt>
[src]
r: DocumentEncryptUnmanagedResult
) -> Result<EncryptedBlindIndexSalt>
Auto Trait Implementations
impl RefUnwindSafe for DocumentEncryptUnmanagedResult
[src]
impl Send for DocumentEncryptUnmanagedResult
[src]
impl Sync for DocumentEncryptUnmanagedResult
[src]
impl Unpin for DocumentEncryptUnmanagedResult
[src]
impl UnwindSafe for DocumentEncryptUnmanagedResult
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,