#[non_exhaustive]pub struct FileMemberActionResult {
pub member: MemberSelector,
pub result: FileMemberActionIndividualResult,
pub sckey_sha1: Option<String>,
pub invitation_signature: Option<Vec<String>>,
}
Available on crate features
sync_routes
and dbx_sharing
only.Expand description
Per-member result for add_file_member()
.
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.member: MemberSelector
One of specified input members.
result: FileMemberActionIndividualResult
The outcome of the action on this member.
sckey_sha1: Option<String>
The SHA-1 encrypted shared content key.
invitation_signature: Option<Vec<String>>
The sharing sender-recipient invitation signatures for the input member_id. A member_id can be a group and thus have multiple users and multiple invitation signatures.
Implementations§
Source§impl FileMemberActionResult
impl FileMemberActionResult
pub fn new( member: MemberSelector, result: FileMemberActionIndividualResult, ) -> Self
pub fn with_sckey_sha1(self, value: String) -> Self
pub fn with_invitation_signature(self, value: Vec<String>) -> Self
Trait Implementations§
Source§impl Clone for FileMemberActionResult
impl Clone for FileMemberActionResult
Source§fn clone(&self) -> FileMemberActionResult
fn clone(&self) -> FileMemberActionResult
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 FileMemberActionResult
impl Debug for FileMemberActionResult
Source§impl<'de> Deserialize<'de> for FileMemberActionResult
impl<'de> Deserialize<'de> for FileMemberActionResult
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 PartialEq for FileMemberActionResult
impl PartialEq for FileMemberActionResult
Source§impl Serialize for FileMemberActionResult
impl Serialize for FileMemberActionResult
impl Eq for FileMemberActionResult
impl StructuralPartialEq for FileMemberActionResult
Auto Trait Implementations§
impl Freeze for FileMemberActionResult
impl RefUnwindSafe for FileMemberActionResult
impl Send for FileMemberActionResult
impl Sync for FileMemberActionResult
impl Unpin for FileMemberActionResult
impl UnwindSafe for FileMemberActionResult
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.