Struct docusign::Envelope[][src]

pub struct Envelope {
Show fields pub documents: Vec<Document>, pub created_date_time: Option<DateTime<Utc>>, pub completed_date_time: Option<DateTime<Utc>>, pub declined_date_time: Option<DateTime<Utc>>, pub delivered_date_time: Option<DateTime<Utc>>, pub transaction_id: String, pub status: String, pub documents_uri: String, pub recipients_uri: String, pub attachments_uri: String, pub envelope_uri: String, pub email_subject: String, pub email_blurb: String, pub envelope_id: String, pub signing_location: String, pub custom_fields_uri: String, pub custom_fields: CustomFields, pub brand_lock: String, pub brand_id: String, pub use_disclosure: String, pub email_settings: EmailSettings, pub purge_state: String, pub lock_information: LockInformation, pub is21_cfr_part11: String, pub signer_can_sign_on_mobile: String, pub is_signature_provider_envelope: String, pub allow_view_history: String, pub allow_comments: String, pub allow_markup: String, pub allow_reassign: String, pub asynchronous: String, pub disable_responsive_document: String, pub copy_recipient_data: String, pub template_id: String, pub template_roles: Vec<TemplateRole>, pub recipients: Recipients,
}

Fields

documents: Vec<Document>created_date_time: Option<DateTime<Utc>>completed_date_time: Option<DateTime<Utc>>declined_date_time: Option<DateTime<Utc>>delivered_date_time: Option<DateTime<Utc>>transaction_id: Stringstatus: String

Indicates the envelope status. Valid values are:

  • completed: The envelope has been completed and all tags have been signed.
  • created: The envelope is created as a draft. It can be modified and sent later.
  • declined: The envelope has been declined by the recipients.
  • delivered: The envelope has been delivered to the recipients.
  • sent: The envelope is sent to the recipients.
  • signed: The envelope has been signed by the recipients.
  • voided: The envelope is no longer valid and recipients cannot access or sign the envelope.
documents_uri: Stringrecipients_uri: Stringattachments_uri: Stringenvelope_uri: Stringemail_subject: String

The subject line of the email message that is sent to all recipients.

For information about adding merge field information to the email subject, see Template Email Subject Merge Fields.

email_blurb: String

This is the same as the email body. If specified it is included in the email body for all envelope recipients.

envelope_id: Stringsigning_location: Stringcustom_fields_uri: Stringcustom_fields: CustomFieldsbrand_lock: Stringbrand_id: Stringuse_disclosure: Stringemail_settings: EmailSettingspurge_state: Stringlock_information: LockInformationis21_cfr_part11: Stringsigner_can_sign_on_mobile: Stringis_signature_provider_envelope: Stringallow_view_history: Stringallow_comments: Stringallow_markup: Stringallow_reassign: Stringasynchronous: Stringdisable_responsive_document: Stringcopy_recipient_data: Stringtemplate_id: String

The id of the template. If a value is not provided, DocuSign generates a value.

template_roles: Vec<TemplateRole>recipients: Recipients

Trait Implementations

impl Clone for Envelope[src]

fn clone(&self) -> Envelope[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Envelope[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for Envelope[src]

fn default() -> Envelope[src]

Returns the “default value” for a type. Read more

impl<'de> Deserialize<'de> for Envelope[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl JsonSchema for Envelope[src]

fn schema_name() -> String[src]

The name of the generated JSON Schema. Read more

fn json_schema(gen: &mut SchemaGenerator) -> Schema[src]

Generates a JSON Schema for this type. Read more

fn is_referenceable() -> bool[src]

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

impl Serialize for Envelope[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn __clone_box(&self, Private) -> *mut ()[src]

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

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> FromBase64 for T where
    T: for<'de> Deserialize<'de>, 
[src]

pub fn from_base64<Input>(raw: &Input) -> Result<T, Error> where
    Input: AsRef<[u8]> + ?Sized
[src]

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<C> SignWithKey<String> for C where
    C: ToBase64
[src]

pub fn sign_with_key(self, key: &impl SigningAlgorithm) -> Result<String, Error>[src]

impl<T> ToBase64 for T where
    T: Serialize
[src]

pub fn to_base64(&self) -> Result<Cow<'_, str>, Error>[src]

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]