pub struct ServiceDocumentUploadDestination {
pub upload_destination_id: String,
pub url: String,
pub encryption_details: Box<EncryptionDetails>,
pub headers: Option<Value>,
}Expand description
ServiceDocumentUploadDestination : Information about an upload destination.
Fields§
§upload_destination_id: StringThe unique identifier to be used by APIs that reference the upload destination.
url: StringThe URL to which to upload the file.
encryption_details: Box<EncryptionDetails>§headers: Option<Value>The headers to include in the upload request.
Implementations§
Source§impl ServiceDocumentUploadDestination
impl ServiceDocumentUploadDestination
Sourcepub fn new(
upload_destination_id: String,
url: String,
encryption_details: EncryptionDetails,
) -> ServiceDocumentUploadDestination
pub fn new( upload_destination_id: String, url: String, encryption_details: EncryptionDetails, ) -> ServiceDocumentUploadDestination
Information about an upload destination.
Trait Implementations§
Source§impl Clone for ServiceDocumentUploadDestination
impl Clone for ServiceDocumentUploadDestination
Source§fn clone(&self) -> ServiceDocumentUploadDestination
fn clone(&self) -> ServiceDocumentUploadDestination
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ServiceDocumentUploadDestination
impl Default for ServiceDocumentUploadDestination
Source§fn default() -> ServiceDocumentUploadDestination
fn default() -> ServiceDocumentUploadDestination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceDocumentUploadDestination
impl<'de> Deserialize<'de> for ServiceDocumentUploadDestination
Source§fn 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
Source§impl PartialEq for ServiceDocumentUploadDestination
impl PartialEq for ServiceDocumentUploadDestination
Source§fn eq(&self, other: &ServiceDocumentUploadDestination) -> bool
fn eq(&self, other: &ServiceDocumentUploadDestination) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServiceDocumentUploadDestination
Auto Trait Implementations§
impl Freeze for ServiceDocumentUploadDestination
impl RefUnwindSafe for ServiceDocumentUploadDestination
impl Send for ServiceDocumentUploadDestination
impl Sync for ServiceDocumentUploadDestination
impl Unpin for ServiceDocumentUploadDestination
impl UnwindSafe for ServiceDocumentUploadDestination
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more