#[non_exhaustive]pub struct AddPaperDocUser {
pub doc_id: PaperDocId,
pub members: Vec<AddMember>,
pub custom_message: Option<String>,
pub quiet: bool,
}
Available on crate features
async_routes
and 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: PaperDocId
The 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: bool
Clients should set this to true if no email message shall be sent to added users.
Implementations§
Source§impl 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§
Source§impl Clone for AddPaperDocUser
impl Clone for AddPaperDocUser
Source§fn clone(&self) -> AddPaperDocUser
fn clone(&self) -> AddPaperDocUser
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 Debug for AddPaperDocUser
impl Debug for AddPaperDocUser
Source§impl<'de> Deserialize<'de> for AddPaperDocUser
impl<'de> Deserialize<'de> for AddPaperDocUser
Source§fn 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
Source§impl From<AddPaperDocUser> for RefPaperDoc
impl From<AddPaperDocUser> for RefPaperDoc
Source§fn from(subtype: AddPaperDocUser) -> Self
fn from(subtype: AddPaperDocUser) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddPaperDocUser
impl PartialEq for AddPaperDocUser
Source§impl Serialize for AddPaperDocUser
impl Serialize for AddPaperDocUser
impl Eq for AddPaperDocUser
impl StructuralPartialEq for AddPaperDocUser
Auto Trait Implementations§
impl Freeze for AddPaperDocUser
impl RefUnwindSafe for AddPaperDocUser
impl Send for AddPaperDocUser
impl Sync for AddPaperDocUser
impl Unpin for AddPaperDocUser
impl UnwindSafe for AddPaperDocUser
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.