Struct dropbox_sdk::paper::AddPaperDocUser
source · [−]#[non_exhaustive]pub struct AddPaperDocUser {
pub doc_id: PaperDocId,
pub members: Vec<AddMember>,
pub custom_message: Option<String>,
pub quiet: bool,
}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.
members: Vec<AddMember>User which should be added to the Paper doc. Specify only email address or Dropbox account ID.
custom_message: Option<String>A personal message that will be emailed to each successfully added member.
quiet: boolClients should set this to true if no email message shall be sent to added users.
Implementations
sourceimpl AddPaperDocUser
impl AddPaperDocUser
pub fn new(doc_id: PaperDocId, members: Vec<AddMember>) -> Self
pub fn with_custom_message(self, value: String) -> Self
pub fn with_quiet(self, value: bool) -> Self
Trait Implementations
sourceimpl Clone for AddPaperDocUser
impl Clone for AddPaperDocUser
sourcefn clone(&self) -> AddPaperDocUser
fn clone(&self) -> AddPaperDocUser
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 AddPaperDocUser
impl Debug for AddPaperDocUser
sourceimpl<'de> Deserialize<'de> for AddPaperDocUser
impl<'de> Deserialize<'de> for AddPaperDocUser
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<AddPaperDocUser> for AddPaperDocUser
impl PartialEq<AddPaperDocUser> for AddPaperDocUser
sourcefn eq(&self, other: &AddPaperDocUser) -> bool
fn eq(&self, other: &AddPaperDocUser) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AddPaperDocUser) -> bool
fn ne(&self, other: &AddPaperDocUser) -> bool
This method tests for !=.
sourceimpl Serialize for AddPaperDocUser
impl Serialize for AddPaperDocUser
impl Eq for AddPaperDocUser
impl StructuralEq for AddPaperDocUser
impl StructuralPartialEq for AddPaperDocUser
Auto Trait Implementations
impl RefUnwindSafe for AddPaperDocUser
impl Send for AddPaperDocUser
impl Sync for AddPaperDocUser
impl Unpin for AddPaperDocUser
impl UnwindSafe for AddPaperDocUser
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