pub struct GroupBuilder { /* private fields */ }Expand description
Builder for constructing Group entries.
Use the BaseBuilderHost methods to populate optional fields, then call build().
Implementations§
Source§impl GroupBuilder
impl GroupBuilder
Trait Implementations§
Source§impl BaseBuilderHost for GroupBuilder
impl BaseBuilderHost for GroupBuilder
Source§fn groups(self, groups: ParentGroups) -> Self
fn groups(self, groups: ParentGroups) -> Self
Source§fn connection_options<S>(self, name: S, options: ConnectionOptions) -> Self
fn connection_options<S>(self, name: S, options: ConnectionOptions) -> Self
Adds or updates connection-specific options for the group.
§Parameters
name- A string-like value identifying the connection plugin name (e.g., “ssh”, “netconf”).options- AConnectionOptionsinstance containing connection-specific configuration.
§Returns
Returns Self with the connection options updated, allowing for method chaining.
If no connection options map exists, one is created before inserting the new options.
type Output = Group
Auto Trait Implementations§
impl Freeze for GroupBuilder
impl RefUnwindSafe for GroupBuilder
impl Send for GroupBuilder
impl Sync for GroupBuilder
impl Unpin for GroupBuilder
impl UnsafeUnpin for GroupBuilder
impl UnwindSafe for GroupBuilder
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