pub struct JsonSchemasService<'a, C> { /* private fields */ }Expand description
Access JsonSchemas.
Implementations§
Source§impl<'a> JsonSchemasService<'a, Client>
impl<'a> JsonSchemasService<'a, Client>
Sourcepub async fn list(&self) -> Result<Collection<OdataId>>
Available on crate feature _async only.
pub async fn list(&self) -> Result<Collection<OdataId>>
_async only.GET /redfish/v1/JsonSchemas
Sourcepub async fn get(&self, schema_id: &str) -> Result<JsonSchemaFile>
Available on crate feature _async only.
pub async fn get(&self, schema_id: &str) -> Result<JsonSchemaFile>
_async only.GET /redfish/v1/JsonSchemas/{id}
Source§impl<'a> JsonSchemasService<'a, BlockingClient>
impl<'a> JsonSchemasService<'a, BlockingClient>
Sourcepub fn list(&self) -> Result<Collection<OdataId>>
Available on crate feature _blocking only.
pub fn list(&self) -> Result<Collection<OdataId>>
_blocking only.GET /redfish/v1/JsonSchemas
Sourcepub fn get(&self, schema_id: &str) -> Result<JsonSchemaFile>
Available on crate feature _blocking only.
pub fn get(&self, schema_id: &str) -> Result<JsonSchemaFile>
_blocking only.GET /redfish/v1/JsonSchemas/{id}
Trait Implementations§
Source§impl<'a, C: Clone> Clone for JsonSchemasService<'a, C>
impl<'a, C: Clone> Clone for JsonSchemasService<'a, C>
Source§fn clone(&self) -> JsonSchemasService<'a, C>
fn clone(&self) -> JsonSchemasService<'a, C>
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 moreSource§impl<'a, C: Debug> Debug for JsonSchemasService<'a, C>
impl<'a, C: Debug> Debug for JsonSchemasService<'a, C>
impl<'a, C: Copy> Copy for JsonSchemasService<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for JsonSchemasService<'a, C>
impl<'a, C> RefUnwindSafe for JsonSchemasService<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for JsonSchemasService<'a, C>where
C: Sync,
impl<'a, C> Sync for JsonSchemasService<'a, C>where
C: Sync,
impl<'a, C> Unpin for JsonSchemasService<'a, C>
impl<'a, C> UnsafeUnpin for JsonSchemasService<'a, C>
impl<'a, C> UnwindSafe for JsonSchemasService<'a, C>where
C: RefUnwindSafe,
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