pub struct AllowlistEntryBuilder { /* private fields */ }Implementations§
Source§impl AllowlistEntryBuilder
impl AllowlistEntryBuilder
pub fn new() -> Self
pub fn build_exact_from_moniker(m: &Moniker) -> AllowlistEntry
pub fn exact(self, name: &str) -> Self
pub fn exact_from_moniker(self, m: &Moniker) -> Self
pub fn any_child(self) -> Self
pub fn any_descendant(self) -> AllowlistEntry
pub fn any_descendant_in_collection(self, collection: &str) -> AllowlistEntry
pub fn any_child_in_collection(self, collection: &str) -> Self
pub fn build(self) -> AllowlistEntry
Auto Trait Implementations§
impl Freeze for AllowlistEntryBuilder
impl RefUnwindSafe for AllowlistEntryBuilder
impl Send for AllowlistEntryBuilder
impl Sync for AllowlistEntryBuilder
impl Unpin for AllowlistEntryBuilder
impl UnwindSafe for AllowlistEntryBuilder
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more