pub struct GSDMSupportedObjectResultBuilder { /* private fields */ }Implementations§
Source§impl GSDMSupportedObjectResultBuilder
impl GSDMSupportedObjectResultBuilder
pub const fn new(supported_obj_path: String) -> Self
pub const fn set_access_add_only(self) -> Self
pub const fn set_access_delete_only(self) -> Self
pub const fn set_access_read_only(self) -> Self
pub const fn set_access_add_delete(self) -> Self
pub const fn with_is_multi_instance(self, is_multi_instance: bool) -> Self
pub fn with_supported_commands( self, supported_commands: Vec<GSDMCommandResult>, ) -> Self
pub fn with_supported_events( self, supported_events: Vec<GSDMEventResult>, ) -> Self
pub fn with_supported_params( self, supported_params: Vec<GSDMParamResult>, ) -> Self
pub fn with_divergent_paths(self, divergent_paths: Vec<String>) -> Self
pub fn with_unique_key_sets(self, unique_key_sets: Vec<Vec<String>>) -> Self
pub fn build(self) -> Result<SupportedObjectResult>
Trait Implementations§
Source§impl Clone for GSDMSupportedObjectResultBuilder
impl Clone for GSDMSupportedObjectResultBuilder
Source§fn clone(&self) -> GSDMSupportedObjectResultBuilder
fn clone(&self) -> GSDMSupportedObjectResultBuilder
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 GSDMSupportedObjectResultBuilder
impl RefUnwindSafe for GSDMSupportedObjectResultBuilder
impl Send for GSDMSupportedObjectResultBuilder
impl Sync for GSDMSupportedObjectResultBuilder
impl Unpin for GSDMSupportedObjectResultBuilder
impl UnwindSafe for GSDMSupportedObjectResultBuilder
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