pub struct PhoneSurface {
pub module_id: String,
pub connection: u64,
pub spawn_generation: u64,
pub enabled_by_policy: bool,
pub opted_in: bool,
pub approved_declaration: bool,
pub reserved: bool,
pub channel_registered: bool,
pub program_admitted: bool,
pub active_registration: bool,
}Expand description
Observed facts from the active registration, its approved declaration/entry, and the supervisor’s current spawn. A claimed module id alone proves none of these. The owner re-reads every fact when a consent reply arrives.
Fields§
§module_id: String§connection: u64§spawn_generation: u64§enabled_by_policy: bool§opted_in: bool§approved_declaration: bool§reserved: bool§channel_registered: bool§program_admitted: bool§active_registration: boolTrait Implementations§
Source§impl Clone for PhoneSurface
impl Clone for PhoneSurface
Source§impl Debug for PhoneSurface
impl Debug for PhoneSurface
impl Eq for PhoneSurface
Source§impl PartialEq for PhoneSurface
impl PartialEq for PhoneSurface
impl StructuralPartialEq for PhoneSurface
Auto Trait Implementations§
impl Forget for PhoneSurface
impl Freeze for PhoneSurface
impl Move for PhoneSurface
impl RefUnwindSafe for PhoneSurface
impl Send for PhoneSurface
impl Sync for PhoneSurface
impl Unpin for PhoneSurface
impl UnsafeUnpin for PhoneSurface
impl UnwindSafe for PhoneSurface
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