pub struct OwnerFlags {
pub active: bool,
pub admin: bool,
}Expand description
The account owner’s standing in the Chat at delivery time, which decides the broadcast scopes that target them.
draft-atwood-jmap-chat-push-00 §ChatMessageEntry mentionScopes:
“"here" is included only when the owner satisfies the
deployment-defined “active” predicate at delivery time; "admins" is
included only when the owner satisfies the deployment-defined
“administrative authority” predicate at delivery time.“ Both predicates
are deployment-defined, so the caller evaluates them.
Fields§
§active: boolThe owner satisfies the deployment’s “active” predicate.
admin: boolThe owner has administrative authority in the Chat.
Trait Implementations§
Source§impl Clone for OwnerFlags
impl Clone for OwnerFlags
impl Copy for OwnerFlags
Source§impl Debug for OwnerFlags
impl Debug for OwnerFlags
Source§impl Default for OwnerFlags
impl Default for OwnerFlags
impl Eq for OwnerFlags
Source§impl PartialEq for OwnerFlags
impl PartialEq for OwnerFlags
impl StructuralPartialEq for OwnerFlags
Auto Trait Implementations§
impl Freeze for OwnerFlags
impl RefUnwindSafe for OwnerFlags
impl Send for OwnerFlags
impl Sync for OwnerFlags
impl Unpin for OwnerFlags
impl UnsafeUnpin for OwnerFlags
impl UnwindSafe for OwnerFlags
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