pub struct OperationOutput<ID, OP, DGM>where
DGM: GroupMembership<ID, OP>,{
pub control_message: ControlMessage<ID>,
pub direct_messages: Vec<DirectMessage<ID, OP, DGM>>,
}Expand description
Calling “create”, “add”, “remove” and “update” returns a control message that should be broadcast to the group and a set of direct messages that should be sent to the regarding members.
Fields§
§control_message: ControlMessage<ID>Control message that should be broadcast to the group.
direct_messages: Vec<DirectMessage<ID, OP, DGM>>Set of messages directly to be sent to specific users.
Trait Implementations§
Auto Trait Implementations§
impl<ID, OP, DGM> Freeze for OperationOutput<ID, OP, DGM>where
ID: Freeze,
impl<ID, OP, DGM> RefUnwindSafe for OperationOutput<ID, OP, DGM>
impl<ID, OP, DGM> Send for OperationOutput<ID, OP, DGM>
impl<ID, OP, DGM> Sync for OperationOutput<ID, OP, DGM>
impl<ID, OP, DGM> Unpin for OperationOutput<ID, OP, DGM>
impl<ID, OP, DGM> UnwindSafe for OperationOutput<ID, OP, DGM>
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