Enum rusp::usp_types::NotifyType
source · pub enum NotifyType {
OnBoardRequest {
oui: String,
product_class: String,
serial_number: String,
agent_supported_protocol_versions: String,
},
ValueChange {
param_path: String,
param_value: String,
},
Event {
obj_path: String,
event_name: String,
params: HashMap<String, String>,
},
ObjectCreation {
obj_path: String,
unique_keys: HashMap<String, String>,
},
ObjectDeletion {
obj_path: String,
},
OperationComplete {
obj_path: String,
command_name: String,
command_key: String,
operation_resp: OperateResponse,
},
}
Variants§
OnBoardRequest
USP OnBoardRequest notification
Fields
ValueChange
USP ValueChange notification
Fields
Event
USP Event notification
Fields
ObjectCreation
USP ObjectCreation notification
Fields
ObjectDeletion
USP ObjectDeletion notification
OperationComplete
USP OperationComplete notification
Trait Implementations§
source§impl Clone for NotifyType
impl Clone for NotifyType
source§fn clone(&self) -> NotifyType
fn clone(&self) -> NotifyType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NotifyType
impl Debug for NotifyType
source§impl PartialEq for NotifyType
impl PartialEq for NotifyType
source§fn eq(&self, other: &NotifyType) -> bool
fn eq(&self, other: &NotifyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NotifyType
impl StructuralPartialEq for NotifyType
Auto Trait Implementations§
impl Freeze for NotifyType
impl RefUnwindSafe for NotifyType
impl Send for NotifyType
impl Sync for NotifyType
impl Unpin for NotifyType
impl UnwindSafe for NotifyType
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