Struct dropbox_sdk::paper::PaperDocUpdateArgs
source · [−]#[non_exhaustive]pub struct PaperDocUpdateArgs {
pub doc_id: PaperDocId,
pub doc_update_policy: PaperDocUpdatePolicy,
pub revision: i64,
pub import_format: ImportFormat,
}Available on crate feature
dbx_paper only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.doc_id: PaperDocIdThe Paper doc ID.
doc_update_policy: PaperDocUpdatePolicyThe policy used for the current update call.
revision: i64The latest doc revision. This value must match the head revision or an error code will be returned. This is to prevent colliding writes.
import_format: ImportFormatThe format of provided data.
Implementations
sourceimpl PaperDocUpdateArgs
impl PaperDocUpdateArgs
pub fn new(
doc_id: PaperDocId,
doc_update_policy: PaperDocUpdatePolicy,
revision: i64,
import_format: ImportFormat
) -> Self
Trait Implementations
sourceimpl Clone for PaperDocUpdateArgs
impl Clone for PaperDocUpdateArgs
sourcefn clone(&self) -> PaperDocUpdateArgs
fn clone(&self) -> PaperDocUpdateArgs
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 more
sourceimpl Debug for PaperDocUpdateArgs
impl Debug for PaperDocUpdateArgs
sourceimpl<'de> Deserialize<'de> for PaperDocUpdateArgs
impl<'de> Deserialize<'de> for PaperDocUpdateArgs
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PaperDocUpdateArgs> for PaperDocUpdateArgs
impl PartialEq<PaperDocUpdateArgs> for PaperDocUpdateArgs
sourcefn eq(&self, other: &PaperDocUpdateArgs) -> bool
fn eq(&self, other: &PaperDocUpdateArgs) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PaperDocUpdateArgs) -> bool
fn ne(&self, other: &PaperDocUpdateArgs) -> bool
This method tests for !=.
sourceimpl Serialize for PaperDocUpdateArgs
impl Serialize for PaperDocUpdateArgs
impl Eq for PaperDocUpdateArgs
impl StructuralEq for PaperDocUpdateArgs
impl StructuralPartialEq for PaperDocUpdateArgs
Auto Trait Implementations
impl RefUnwindSafe for PaperDocUpdateArgs
impl Send for PaperDocUpdateArgs
impl Sync for PaperDocUpdateArgs
impl Unpin for PaperDocUpdateArgs
impl UnwindSafe for PaperDocUpdateArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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