pub struct FleetBuilder { /* private fields */ }Expand description
Builds a fleet’s initial structure: organizations, their groups, and each group’s sensors. Parents are referenced by id, so add an org before its groups and a group before its sensors.
Implementations§
Source§impl FleetBuilder
impl FleetBuilder
Sourcepub fn group(
self,
org: &str,
id: impl Into<String>,
name: impl Into<String>,
kind: LinkKind,
) -> Self
pub fn group( self, org: &str, id: impl Into<String>, name: impl Into<String>, kind: LinkKind, ) -> Self
Auto Trait Implementations§
impl Freeze for FleetBuilder
impl RefUnwindSafe for FleetBuilder
impl Send for FleetBuilder
impl Sync for FleetBuilder
impl Unpin for FleetBuilder
impl UnsafeUnpin for FleetBuilder
impl UnwindSafe for FleetBuilder
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