pub struct SyncDownResponse {Show 47 fields
pub continuation_token: Vec<u8>,
pub has_more: bool,
pub cache_status: i32,
pub user_folders: Vec<UserFolder>,
pub shared_folders: Vec<SharedFolder>,
pub user_folder_shared_folders: Vec<UserFolderSharedFolder>,
pub shared_folder_folders: Vec<SharedFolderFolder>,
pub records: Vec<Record>,
pub record_meta_data: Vec<RecordMetaData>,
pub non_shared_data: Vec<NonSharedData>,
pub record_links: Vec<RecordLink>,
pub user_folder_records: Vec<UserFolderRecord>,
pub shared_folder_records: Vec<SharedFolderRecord>,
pub shared_folder_folder_records: Vec<SharedFolderFolderRecord>,
pub shared_folder_users: Vec<SharedFolderUser>,
pub shared_folder_teams: Vec<SharedFolderTeam>,
pub record_add_audit_data: Vec<Vec<u8>>,
pub teams: Vec<Team>,
pub sharing_changes: Vec<SharingChange>,
pub profile: Option<Profile>,
pub profile_pic: Option<ProfilePic>,
pub pending_team_members: Vec<PendingTeamMember>,
pub breach_watch_records: Vec<BreachWatchRecord>,
pub user_auths: Vec<UserAuth>,
pub breach_watch_security_data: Vec<BreachWatchSecurityData>,
pub reused_passwords: Option<ReusedPasswords>,
pub removed_user_folders: Vec<Vec<u8>>,
pub removed_shared_folders: Vec<Vec<u8>>,
pub removed_user_folder_shared_folders: Vec<UserFolderSharedFolder>,
pub removed_shared_folder_folders: Vec<SharedFolderFolder>,
pub removed_records: Vec<Vec<u8>>,
pub removed_record_links: Vec<RecordLink>,
pub removed_user_folder_records: Vec<UserFolderRecord>,
pub removed_shared_folder_records: Vec<SharedFolderRecord>,
pub removed_shared_folder_folder_records: Vec<SharedFolderFolderRecord>,
pub removed_shared_folder_users: Vec<SharedFolderUser>,
pub removed_shared_folder_teams: Vec<SharedFolderTeam>,
pub removed_teams: Vec<Vec<u8>>,
pub ksm_app_shares: Vec<KsmChange>,
pub ksm_app_clients: Vec<KsmChange>,
pub share_invitations: Vec<ShareInvitation>,
pub diagnostics: Option<SyncDiagnostics>,
pub record_rotations: Vec<RecordRotation>,
pub users: Vec<User>,
pub removed_users: Vec<Vec<u8>>,
pub security_score_data: Vec<SecurityScoreData>,
pub notification_sync: Vec<NotificationWrapper>,
}Fields§
§continuation_token: Vec<u8>§has_more: bool§cache_status: i32§user_folders: Vec<UserFolder>§records: Vec<Record>§record_meta_data: Vec<RecordMetaData>§record_links: Vec<RecordLink>§user_folder_records: Vec<UserFolderRecord>§record_add_audit_data: Vec<Vec<u8>>§teams: Vec<Team>§sharing_changes: Vec<SharingChange>§profile: Option<Profile>§profile_pic: Option<ProfilePic>§pending_team_members: Vec<PendingTeamMember>§breach_watch_records: Vec<BreachWatchRecord>§user_auths: Vec<UserAuth>§breach_watch_security_data: Vec<BreachWatchSecurityData>§reused_passwords: Option<ReusedPasswords>§removed_user_folders: Vec<Vec<u8>>§removed_records: Vec<Vec<u8>>§removed_record_links: Vec<RecordLink>§removed_user_folder_records: Vec<UserFolderRecord>§removed_teams: Vec<Vec<u8>>§ksm_app_clients: Vec<KsmChange>§diagnostics: Option<SyncDiagnostics>§record_rotations: Vec<RecordRotation>§users: Vec<User>§removed_users: Vec<Vec<u8>>§security_score_data: Vec<SecurityScoreData>§notification_sync: Vec<NotificationWrapper>Implementations§
Source§impl SyncDownResponse
impl SyncDownResponse
Sourcepub fn cache_status(&self) -> CacheStatus
pub fn cache_status(&self) -> CacheStatus
Returns the enum value of cache_status, or the default if the field is set to an invalid enum value.
Sourcepub fn set_cache_status(&mut self, value: CacheStatus)
pub fn set_cache_status(&mut self, value: CacheStatus)
Sets cache_status to the provided enum value.
Trait Implementations§
Source§impl Clone for SyncDownResponse
impl Clone for SyncDownResponse
Source§fn clone(&self) -> SyncDownResponse
fn clone(&self) -> SyncDownResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyncDownResponse
impl Debug for SyncDownResponse
Source§impl Default for SyncDownResponse
impl Default for SyncDownResponse
Source§impl Message for SyncDownResponse
impl Message for SyncDownResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for SyncDownResponse
impl PartialEq for SyncDownResponse
impl StructuralPartialEq for SyncDownResponse
Auto Trait Implementations§
impl Freeze for SyncDownResponse
impl RefUnwindSafe for SyncDownResponse
impl Send for SyncDownResponse
impl Sync for SyncDownResponse
impl Unpin for SyncDownResponse
impl UnsafeUnpin for SyncDownResponse
impl UnwindSafe for SyncDownResponse
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more