pub struct ReservationsScopedListWarning {
pub code: Option<String>,
pub data: Option<Vec<ReservationsScopedListWarningData>>,
pub message: Option<String>,
}
Expand description
Informational warning which replaces the list of reservations when the list is empty.
This type is not used in any activity, and only used as part of another schema.
Fields§
§code: Option<String>
[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
data: Option<Vec<ReservationsScopedListWarningData>>
[Output Only] Metadata about this warning in key: value format. For example: “data”: [ { “key”: “scope”, “value”: “zones/us-east1-d” }
message: Option<String>
[Output Only] A human-readable description of the warning code.
Trait Implementations§
source§impl Clone for ReservationsScopedListWarning
impl Clone for ReservationsScopedListWarning
source§fn clone(&self) -> ReservationsScopedListWarning
fn clone(&self) -> ReservationsScopedListWarning
Returns a copy 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 Default for ReservationsScopedListWarning
impl Default for ReservationsScopedListWarning
source§fn default() -> ReservationsScopedListWarning
fn default() -> ReservationsScopedListWarning
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReservationsScopedListWarning
impl<'de> Deserialize<'de> for ReservationsScopedListWarning
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
impl NestedType for ReservationsScopedListWarning
impl Part for ReservationsScopedListWarning
Auto Trait Implementations§
impl RefUnwindSafe for ReservationsScopedListWarning
impl Send for ReservationsScopedListWarning
impl Sync for ReservationsScopedListWarning
impl Unpin for ReservationsScopedListWarning
impl UnwindSafe for ReservationsScopedListWarning
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