pub struct LedgerUpdate {
pub add_participants: Option<Vec<MessageAuthor>>,
pub remove_participants: Option<Vec<Uuid>>,
pub set_status: Option<ThreadStatus>,
pub set_visibility: Option<(SensitivityLevel, bool)>,
pub set_policies: Option<(bool, bool)>,
}Expand description
Update to apply to a thread ledger.
Fields§
§add_participants: Option<Vec<MessageAuthor>>§remove_participants: Option<Vec<Uuid>>§set_status: Option<ThreadStatus>§set_visibility: Option<(SensitivityLevel, bool)>§set_policies: Option<(bool, bool)>Trait Implementations§
Source§impl Clone for LedgerUpdate
impl Clone for LedgerUpdate
Source§fn clone(&self) -> LedgerUpdate
fn clone(&self) -> LedgerUpdate
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 LedgerUpdate
impl Debug for LedgerUpdate
Source§impl Default for LedgerUpdate
impl Default for LedgerUpdate
Source§fn default() -> LedgerUpdate
fn default() -> LedgerUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LedgerUpdate
impl RefUnwindSafe for LedgerUpdate
impl Send for LedgerUpdate
impl Sync for LedgerUpdate
impl Unpin for LedgerUpdate
impl UnwindSafe for LedgerUpdate
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request