pub struct ListenerDescription {
pub listener: Option<Listener>,
pub policy_names: Option<Vec<String>>,
}Expand description
The policies enabled for a listener.
Fields§
§listener: Option<Listener>The listener.
policy_names: Option<Vec<String>>The policies. If there are no policies enabled, the list is empty.
Trait Implementations§
Source§impl Clone for ListenerDescription
impl Clone for ListenerDescription
Source§fn clone(&self) -> ListenerDescription
fn clone(&self) -> ListenerDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListenerDescription
impl Debug for ListenerDescription
Source§impl Default for ListenerDescription
impl Default for ListenerDescription
Source§fn default() -> ListenerDescription
fn default() -> ListenerDescription
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListenerDescription
impl PartialEq for ListenerDescription
impl StructuralPartialEq for ListenerDescription
Auto Trait Implementations§
impl Freeze for ListenerDescription
impl RefUnwindSafe for ListenerDescription
impl Send for ListenerDescription
impl Sync for ListenerDescription
impl Unpin for ListenerDescription
impl UnwindSafe for ListenerDescription
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