pub struct PatchedWritableRackReservationRequest {
pub rack: Option<Box<PatchedWritableRackReservationRequestRack>>,
pub units: Option<Vec<i32>>,
pub status: Option<Status>,
pub user: Option<Box<BookmarkRequestUser>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableRackReservationRequest : Adds support for custom fields and tags.
Fields§
§rack: Option<Box<PatchedWritableRackReservationRequestRack>>§units: Option<Vec<i32>>§status: Option<Status>pending- Pending *active- Active *stale- Stale
user: Option<Box<BookmarkRequestUser>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableRackReservationRequest
impl PatchedWritableRackReservationRequest
Sourcepub fn new() -> PatchedWritableRackReservationRequest
pub fn new() -> PatchedWritableRackReservationRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableRackReservationRequest
impl Clone for PatchedWritableRackReservationRequest
Source§fn clone(&self) -> PatchedWritableRackReservationRequest
fn clone(&self) -> PatchedWritableRackReservationRequest
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 Default for PatchedWritableRackReservationRequest
impl Default for PatchedWritableRackReservationRequest
Source§fn default() -> PatchedWritableRackReservationRequest
fn default() -> PatchedWritableRackReservationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableRackReservationRequest
impl<'de> Deserialize<'de> for PatchedWritableRackReservationRequest
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 PartialEq for PatchedWritableRackReservationRequest
impl PartialEq for PatchedWritableRackReservationRequest
Source§fn eq(&self, other: &PatchedWritableRackReservationRequest) -> bool
fn eq(&self, other: &PatchedWritableRackReservationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableRackReservationRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableRackReservationRequest
impl RefUnwindSafe for PatchedWritableRackReservationRequest
impl Send for PatchedWritableRackReservationRequest
impl Sync for PatchedWritableRackReservationRequest
impl Unpin for PatchedWritableRackReservationRequest
impl UnwindSafe for PatchedWritableRackReservationRequest
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