AppStatusObj

Trait AppStatusObj 

Source
pub trait AppStatusObj {
    // Required methods
    fn create(
        owner: ObjectId,
        id: DecAppId,
        version: String,
        status: bool,
    ) -> Self;
    fn app_id(&self) -> &DecAppId;
    fn version(&self) -> &str;
    fn status(&self) -> bool;
    fn set_version(&mut self, version: String);
    fn set_status(&mut self, status: bool);
}

Required Methods§

Source

fn create(owner: ObjectId, id: DecAppId, version: String, status: bool) -> Self

Source

fn app_id(&self) -> &DecAppId

Source

fn version(&self) -> &str

Source

fn status(&self) -> bool

Source

fn set_version(&mut self, version: String)

Source

fn set_status(&mut self, status: bool)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§