pub struct RootsNotificationBuilder { /* private fields */ }Expand description
Builder for RootsListChangedNotification
Implementations§
Source§impl RootsNotificationBuilder
impl RootsNotificationBuilder
pub fn new() -> Self
Sourcepub fn meta_value(self, key: impl Into<String>, value: Value) -> Self
pub fn meta_value(self, key: impl Into<String>, value: Value) -> Self
Add a meta key-value pair
Sourcepub fn build(self) -> RootsListChangedNotification
pub fn build(self) -> RootsListChangedNotification
Build the RootsListChangedNotification
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootsNotificationBuilder
impl RefUnwindSafe for RootsNotificationBuilder
impl Send for RootsNotificationBuilder
impl Sync for RootsNotificationBuilder
impl Unpin for RootsNotificationBuilder
impl UnwindSafe for RootsNotificationBuilder
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