pub struct DocumentDecryptUnmanagedResult { /* private fields */ }
Expand description
Decrypted document bytes and metadata.
Result from document_decrypt_unmanaged.
Implementations§
source§impl DocumentDecryptUnmanagedResult
impl DocumentDecryptUnmanagedResult
sourcepub fn id(&self) -> &DocumentId
pub fn id(&self) -> &DocumentId
ID of the document
sourcepub fn access_via(&self) -> &UserOrGroup
pub fn access_via(&self) -> &UserOrGroup
User or group that granted access to the encrypted data
More specifically, the user or group associated with the EDEK that was chosen and transformed by the webservice
sourcepub fn decrypted_data(&self) -> &[u8] ⓘ
pub fn decrypted_data(&self) -> &[u8] ⓘ
Bytes of decrypted document data
Trait Implementations§
source§impl Clone for DocumentDecryptUnmanagedResult
impl Clone for DocumentDecryptUnmanagedResult
source§fn clone(&self) -> DocumentDecryptUnmanagedResult
fn clone(&self) -> DocumentDecryptUnmanagedResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for DocumentDecryptUnmanagedResult
impl PartialEq for DocumentDecryptUnmanagedResult
source§fn eq(&self, other: &DocumentDecryptUnmanagedResult) -> bool
fn eq(&self, other: &DocumentDecryptUnmanagedResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DocumentDecryptUnmanagedResult
impl StructuralEq for DocumentDecryptUnmanagedResult
impl StructuralPartialEq for DocumentDecryptUnmanagedResult
Auto Trait Implementations§
impl RefUnwindSafe for DocumentDecryptUnmanagedResult
impl Send for DocumentDecryptUnmanagedResult
impl Sync for DocumentDecryptUnmanagedResult
impl Unpin for DocumentDecryptUnmanagedResult
impl UnwindSafe for DocumentDecryptUnmanagedResult
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more