[][src]Struct ironoxide::document::advanced::DocumentEncryptUnmanagedResult

pub struct DocumentEncryptUnmanagedResult { /* fields omitted */ }

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]

impl Debug for DocumentEncryptUnmanagedResult[src]

impl Eq for DocumentEncryptUnmanagedResult[src]

impl Hash for DocumentEncryptUnmanagedResult[src]

impl PartialEq<DocumentEncryptUnmanagedResult> for DocumentEncryptUnmanagedResult[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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,