#[non_exhaustive]pub struct ListUsersOnPaperDocResponse {
pub invitees: Vec<InviteeInfoWithPermissionLevel>,
pub users: Vec<UserInfoWithPermissionLevel>,
pub doc_owner: UserInfo,
pub cursor: Cursor,
pub has_more: bool,
}
Available on crate features
sync_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.invitees: Vec<InviteeInfoWithPermissionLevel>
List of email addresses with their respective permission levels that are invited on the Paper doc.
users: Vec<UserInfoWithPermissionLevel>
List of users with their respective permission levels that are invited on the Paper folder.
doc_owner: UserInfo
The Paper doc owner. This field is populated on every single response.
cursor: Cursor
Pass the cursor into docs_users_list_continue()
to paginate through all users. The cursor preserves all properties as specified in the
original call to docs_users_list()
.
has_more: bool
Will be set to True if a subsequent call with the provided cursor to
docs_users_list_continue()
returns immediately
with some results. If set to False please allow some delay before making another call to
docs_users_list_continue()
.
Implementations§
Source§impl ListUsersOnPaperDocResponse
impl ListUsersOnPaperDocResponse
pub fn new( invitees: Vec<InviteeInfoWithPermissionLevel>, users: Vec<UserInfoWithPermissionLevel>, doc_owner: UserInfo, cursor: Cursor, has_more: bool, ) -> Self
Trait Implementations§
Source§impl Clone for ListUsersOnPaperDocResponse
impl Clone for ListUsersOnPaperDocResponse
Source§fn clone(&self) -> ListUsersOnPaperDocResponse
fn clone(&self) -> ListUsersOnPaperDocResponse
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 ListUsersOnPaperDocResponse
impl Debug for ListUsersOnPaperDocResponse
Source§impl<'de> Deserialize<'de> for ListUsersOnPaperDocResponse
impl<'de> Deserialize<'de> for ListUsersOnPaperDocResponse
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
impl Eq for ListUsersOnPaperDocResponse
impl StructuralPartialEq for ListUsersOnPaperDocResponse
Auto Trait Implementations§
impl Freeze for ListUsersOnPaperDocResponse
impl RefUnwindSafe for ListUsersOnPaperDocResponse
impl Send for ListUsersOnPaperDocResponse
impl Sync for ListUsersOnPaperDocResponse
impl Unpin for ListUsersOnPaperDocResponse
impl UnwindSafe for ListUsersOnPaperDocResponse
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.