[][src]Struct ironoxide::document::DocumentEncryptResult

pub struct DocumentEncryptResult { /* fields omitted */ }

Encrypted document bytes and metadata.

Result from document_encrypt and document_update_bytes.

Implementations

impl DocumentEncryptResult[src]

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

Bytes of encrypted document data

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

ID of the document

pub fn name(&self) -> Option<&DocumentName>[src]

Name of the document

pub fn created(&self) -> &DateTime<Utc>[src]

Date and time when the document was created

pub fn last_updated(&self) -> &DateTime<Utc>[src]

Date and time when the document was last updated

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 DocumentEncryptResult[src]

impl Debug for DocumentEncryptResult[src]

impl Eq for DocumentEncryptResult[src]

impl Hash for DocumentEncryptResult[src]

impl PartialEq<DocumentEncryptResult> for DocumentEncryptResult[src]

impl StructuralEq for DocumentEncryptResult[src]

impl StructuralPartialEq for DocumentEncryptResult[src]

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
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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>,