#[non_exhaustive]pub struct OperatorApp {
pub app: String,
pub pid: u32,
}Expand description
The daemon’s statement that the route was opened over a connection it recognised, when the connection was made, as a verified operator app.
It reports a fact fixed at bind time and is never retracted on the route.
It is not authority: a module still asks the daemon with operator.confirm
before acting on the person’s behalf, and the daemon decides.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app: StringThe app’s identifier in the daemon’s compiled app table.
pid: u32The app’s process id when its connection was made.
Implementations§
Trait Implementations§
Source§impl Clone for OperatorApp
impl Clone for OperatorApp
Source§impl Debug for OperatorApp
impl Debug for OperatorApp
Source§impl<'de> Deserialize<'de> for OperatorApp
impl<'de> Deserialize<'de> for OperatorApp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OperatorApp
Source§impl PartialEq for OperatorApp
impl PartialEq for OperatorApp
Source§impl Serialize for OperatorApp
impl Serialize for OperatorApp
impl StructuralPartialEq for OperatorApp
Auto Trait Implementations§
impl Forget for OperatorApp
impl Freeze for OperatorApp
impl Move for OperatorApp
impl RefUnwindSafe for OperatorApp
impl Send for OperatorApp
impl Sync for OperatorApp
impl Unpin for OperatorApp
impl UnsafeUnpin for OperatorApp
impl UnwindSafe for OperatorApp
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