pub struct FulfillmentDocument {
pub upload_destination_id: Option<String>,
pub content_sha256: Option<String>,
}Expand description
FulfillmentDocument : Document that captured during service appointment fulfillment that portrays proof of completion
Fields
upload_destination_id: Option<String>The identifier of the upload destination. Get this value by calling the createServiceDocumentUploadDestination operation of the Services API.
content_sha256: Option<String>Sha256 hash of the file content. This value is used to determine if the file has been corrupted or tampered with during transit.
Implementations
sourceimpl FulfillmentDocument
impl FulfillmentDocument
sourcepub fn new() -> FulfillmentDocument
pub fn new() -> FulfillmentDocument
Document that captured during service appointment fulfillment that portrays proof of completion
Trait Implementations
sourceimpl Clone for FulfillmentDocument
impl Clone for FulfillmentDocument
sourcefn clone(&self) -> FulfillmentDocument
fn clone(&self) -> FulfillmentDocument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FulfillmentDocument
impl Debug for FulfillmentDocument
sourceimpl Default for FulfillmentDocument
impl Default for FulfillmentDocument
sourcefn default() -> FulfillmentDocument
fn default() -> FulfillmentDocument
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FulfillmentDocument
impl<'de> Deserialize<'de> for FulfillmentDocument
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FulfillmentDocument> for FulfillmentDocument
impl PartialEq<FulfillmentDocument> for FulfillmentDocument
sourcefn eq(&self, other: &FulfillmentDocument) -> bool
fn eq(&self, other: &FulfillmentDocument) -> bool
sourceimpl Serialize for FulfillmentDocument
impl Serialize for FulfillmentDocument
impl StructuralPartialEq for FulfillmentDocument
Auto Trait Implementations
impl RefUnwindSafe for FulfillmentDocument
impl Send for FulfillmentDocument
impl Sync for FulfillmentDocument
impl Unpin for FulfillmentDocument
impl UnwindSafe for FulfillmentDocument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more