pub struct Party {
pub id: MemberId,
pub is_owner: bool,
pub is_admin: bool,
pub top: Top,
}Expand description
An actor or target member as the hierarchy sees it. Build it with
Resolver::party.
Fields§
§id: MemberIdThe member id.
is_owner: boolWhether this is the owner bound in the current descriptor.
is_admin: boolWhether the member holds ADMINISTRATOR (exempt from H3 only).
top: TopThe member’s top position.
Trait Implementations§
impl Copy for Party
impl Eq for Party
impl StructuralPartialEq for Party
Auto Trait Implementations§
impl Freeze for Party
impl RefUnwindSafe for Party
impl Send for Party
impl Sync for Party
impl Unpin for Party
impl UnsafeUnpin for Party
impl UnwindSafe for Party
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