pub struct Expand {
pub expand_all: Option<bool>,
pub levels: Option<bool>,
pub links: Option<bool>,
pub max_levels: Option<i64>,
pub no_links: Option<bool>,
}
Expand description
The information about the use of $expand in the service.
Fields§
§expand_all: Option<bool>
An indication of whether the service supports the asterisk (*
) option of the $expand query parameter.
levels: Option<bool>
An indication of whether the service supports the $levels option of the $expand query parameter.
links: Option<bool>
An indication of whether this service supports the tilde (~
) option of the $expand query parameter.
max_levels: Option<i64>
The maximum $levels option value in the $expand query parameter.
no_links: Option<bool>
An indication of whether the service supports the period (.
) option of the $expand query parameter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Expand
impl<'de> Deserialize<'de> for Expand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for Expand
impl Metadata<'static> for Expand
Source§const JSON_SCHEMA: &'static str = "ServiceRoot.v1_16_0.json"
const JSON_SCHEMA: &'static str = "ServiceRoot.v1_16_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for Expand
impl RefUnwindSafe for Expand
impl Send for Expand
impl Sync for Expand
impl Unpin for Expand
impl UnwindSafe for Expand
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