pub struct NotifyBuilder { /* private fields */ }Implementations§
Source§impl NotifyBuilder
impl NotifyBuilder
pub const fn new(subscription_id: String) -> Self
pub const fn with_send_resp(self, send_resp: bool) -> Self
pub fn with_onboard_request( self, oui: String, product_class: String, serial_number: String, aspv: String, ) -> Self
pub fn with_value_change(self, param_path: String, param_value: String) -> Self
pub fn with_event( self, obj_path: String, event_name: String, params: HashMap<String, String>, ) -> Self
pub fn with_object_creation( self, obj_path: String, unique_keys: HashMap<String, String>, ) -> Self
pub fn with_object_deletion(self, obj_path: String) -> Self
pub fn with_operation_complete_output_args( self, obj_path: String, command_name: String, command_key: String, output_args: HashMap<String, String>, ) -> Self
pub fn with_operation_complete_cmd_failure( self, obj_path: String, command_name: String, command_key: String, err_code: u32, err_msg: String, ) -> Self
pub fn build(self) -> Result<Body>
Trait Implementations§
Source§impl Clone for NotifyBuilder
impl Clone for NotifyBuilder
Source§fn clone(&self) -> NotifyBuilder
fn clone(&self) -> NotifyBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for NotifyBuilder
impl RefUnwindSafe for NotifyBuilder
impl Send for NotifyBuilder
impl Sync for NotifyBuilder
impl Unpin for NotifyBuilder
impl UnwindSafe for NotifyBuilder
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