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

pub struct DocumentEncryptUnmanagedResult { /* fields omitted */ }

Result for encrypt operations that do not store document access information with the webservice, but rather return the access information as encrypted_deks. Both the encrypted_data and encrypted_deks must be used to decrypt. See document_edek_decrypt

  • id - Unique (within the segment) id of the document
  • encrypted_data - Bytes of encrypted document content
  • encrypted_deks - List of encrypted document encryption keys (EDEK) of users/groups that have been granted access to encrypted_data
  • access_errs - Users and groups that could not be granted access

Methods

impl DocumentEncryptUnmanagedResult[src]

pub fn id(&self) -> &DocumentId[src]

pub fn encrypted_data(&self) -> &[u8][src]

pub fn encrypted_deks(&self) -> &[u8][src]

pub fn access_errs(&self) -> &[DocAccessEditErr][src]

pub fn grants(&self) -> &[UserOrGroup][src]

Trait Implementations

impl Debug for DocumentEncryptUnmanagedResult[src]

Auto Trait Implementations

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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