pub struct Hardware {
pub client: Client,
}Fields
client: ClientImplementations
- This function performs a
GETto the/hardware/racksendpoint. - List racks in the system.
- Parameters:
-
limit: u32– A count of bytes, typically used either for memory or storage capacity
- The maximum supported byte count is
i64::MAX. This makes it somewhat inconvenient to define constructors: a u32 constructor can be infallible, but an i64 constructor can fail (if the value is negative) and a u64 constructor can fail (if the value is larger than i64::MAX). We provide all of these for consumers’ convenience. -
page_token: &str– human-readable free-form text about a resource.
-
sort_by: crate::types::IdSortModeAscending– Supported set of sort modes for scanning by id only.
- Currently, we only support scanning in ascending order.
- This function performs a
GETto the/hardware/racksendpoint. - As opposed to
racks_get, this function returns all the pages of the request at once. - List racks in the system.
- This function performs a
GETto the/hardware/racks/{rack_id}endpoint. - Fetch information about a particular rack.
- Parameters:
-
rack_id: &str– human-readable free-form text about a resource.
- This function performs a
GETto the/hardware/sledsendpoint. - List sleds in the system.
- Parameters:
-
limit: u32– A count of bytes, typically used either for memory or storage capacity
- The maximum supported byte count is
i64::MAX. This makes it somewhat inconvenient to define constructors: a u32 constructor can be infallible, but an i64 constructor can fail (if the value is negative) and a u64 constructor can fail (if the value is larger than i64::MAX). We provide all of these for consumers’ convenience. -
page_token: &str– human-readable free-form text about a resource.
-
sort_by: crate::types::IdSortModeAscending– Supported set of sort modes for scanning by id only.
- Currently, we only support scanning in ascending order.
- This function performs a
GETto the/hardware/sledsendpoint. - As opposed to
sleds_get, this function returns all the pages of the request at once. - List sleds in the system.
- This function performs a
GETto the/hardware/sleds/{sled_id}endpoint. - Fetch information about a sled in the system.
- Parameters:
-
sled_id: &str– human-readable free-form text about a resource.
Auto Trait Implementations
impl !RefUnwindSafe for Hardware
impl !UnwindSafe for Hardware
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more