pub struct AllowListMembers {
pub peers: Vec<ContactIdentity>,
}Expand description
defines a locked list of allowed peers and groups the bot may communicate with others will be blocked, and peers listed here will be peered with actively
Fields§
§peers: Vec<ContactIdentity>list of peers to allow by handle
Implementations§
Source§impl AllowListMembers
impl AllowListMembers
Sourcepub fn new(peers: Vec<ContactIdentity>) -> Self
pub fn new(peers: Vec<ContactIdentity>) -> Self
constructs a new AllowListMembers struct
Auto Trait Implementations§
impl Freeze for AllowListMembers
impl RefUnwindSafe for AllowListMembers
impl Send for AllowListMembers
impl Sync for AllowListMembers
impl Unpin for AllowListMembers
impl UnwindSafe for AllowListMembers
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