Trait svc_authz::intent::Object

source ·
pub trait Object: Send + Sync {
    // Required methods
    fn to_ban_key(&self) -> Option<Vec<String>>;
    fn to_vec(&self) -> Vec<String>;
    fn box_clone(&self) -> Box<dyn Object>;
}

Required Methods§

source

fn to_ban_key(&self) -> Option<Vec<String>>

source

fn to_vec(&self) -> Vec<String>

source

fn box_clone(&self) -> Box<dyn Object>

Trait Implementations§

source§

impl Clone for Box<dyn Object>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Box<dyn Object>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§