pub enum SelfRelationPosture {
Allowed,
Refusal,
}Expand description
Whether a member may relate to itself in a same-roster relation.
Variants§
Implementations§
Source§impl SelfRelationPosture
impl SelfRelationPosture
Sourcepub const fn requirement(
self,
) -> Option<StructuralRequirement<SelfRelationStanding>>
pub const fn requirement( self, ) -> Option<StructuralRequirement<SelfRelationStanding>>
The self-relation requirement expressed by this posture, when it constrains self relations.
Trait Implementations§
Source§impl Clone for SelfRelationPosture
impl Clone for SelfRelationPosture
Source§fn clone(&self) -> SelfRelationPosture
fn clone(&self) -> SelfRelationPosture
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 moreimpl Copy for SelfRelationPosture
Source§impl Debug for SelfRelationPosture
impl Debug for SelfRelationPosture
impl Eq for SelfRelationPosture
Source§impl Hash for SelfRelationPosture
impl Hash for SelfRelationPosture
Source§impl PartialEq for SelfRelationPosture
impl PartialEq for SelfRelationPosture
impl StructuralPartialEq for SelfRelationPosture
Auto Trait Implementations§
impl Freeze for SelfRelationPosture
impl RefUnwindSafe for SelfRelationPosture
impl Send for SelfRelationPosture
impl Sync for SelfRelationPosture
impl Unpin for SelfRelationPosture
impl UnsafeUnpin for SelfRelationPosture
impl UnwindSafe for SelfRelationPosture
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