pub enum ChannelScope {
All,
Restricted(Vec<String>),
}Expand description
The channels that credentials can connect to.
Variants§
All
Every channel of the application.
Restricted(Vec<String>)
Only the listed channel references. List at least one, and each one only once. A reference has 1 to 255 ASCII letters, digits, hyphens (-) or underscores (_).
Trait Implementations§
Source§impl Clone for ChannelScope
impl Clone for ChannelScope
Source§impl Debug for ChannelScope
impl Debug for ChannelScope
impl Eq for ChannelScope
Source§impl PartialEq for ChannelScope
impl PartialEq for ChannelScope
impl StructuralPartialEq for ChannelScope
Auto Trait Implementations§
impl Freeze for ChannelScope
impl RefUnwindSafe for ChannelScope
impl Send for ChannelScope
impl Sync for ChannelScope
impl Unpin for ChannelScope
impl UnsafeUnpin for ChannelScope
impl UnwindSafe for ChannelScope
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