[][src]Trait rustpub::complex::core::ActorTrait

pub trait ActorTrait: Debug + Serialize + Deserialize {
    fn any_ref(&self) -> &dyn Any;
fn box_clone(&self) -> Box<dyn ActorTrait>; }

Required methods

fn any_ref(&self) -> &dyn Any

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

Loading content...

Methods

impl dyn ActorTrait[src]

pub fn downcast_ref<T: Any>(&self) -> Option<&T>[src]

pub fn as_application(&self) -> Option<&Application>[src]

pub fn as_group(&self) -> Option<&Group>[src]

pub fn as_organization(&self) -> Option<&Organization>[src]

pub fn as_person(&self) -> Option<&Person>[src]

pub fn as_service(&self) -> Option<&Service>[src]

Trait Implementations

impl<'typetag> Serialize for dyn ActorTrait + 'typetag[src]

impl<'typetag> Serialize for dyn ActorTrait + Send + 'typetag[src]

impl<'typetag> Serialize for dyn ActorTrait + Sync + 'typetag[src]

impl<'typetag> Serialize for dyn ActorTrait + Send + Sync + 'typetag[src]

impl Strictest for dyn ActorTrait[src]

type Object = dyn ActorTrait

Implementors

impl ActorTrait for Application[src]

impl ActorTrait for Group[src]

impl ActorTrait for Organization[src]

impl ActorTrait for Person[src]

impl ActorTrait for Service[src]

Loading content...