#[non_exhaustive]pub struct Community {
pub name: String,
pub members: Vec<String>,
pub invert_match: bool,
}Expand description
A community <name> members ..., which may be a standard, extended or large community.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§members: Vec<String>§invert_match: boolTrait Implementations§
impl Eq for Community
impl StructuralPartialEq for Community
Auto Trait Implementations§
impl Forget for Community
impl Freeze for Community
impl Move for Community
impl RefUnwindSafe for Community
impl Send for Community
impl Sync for Community
impl Unpin for Community
impl UnsafeUnpin for Community
impl UnwindSafe for Community
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