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§
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)
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.