#[non_exhaustive]pub struct FutureReservationStatusExistingMatchingUsageInfo {
pub count: Option<i64>,
pub timestamp: Option<String>,
/* private fields */
}Available on crate feature
future-reservations only.Expand description
[Output Only] Represents the existing matching usage for the future reservation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.count: Option<i64>Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
timestamp: Option<String>Output only. Timestamp when the matching usage was calculated
Implementations§
Source§impl FutureReservationStatusExistingMatchingUsageInfo
impl FutureReservationStatusExistingMatchingUsageInfo
pub fn new() -> Self
Sourcepub fn set_or_clear_count<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_count<T>(self, v: Option<T>) -> Self
Sourcepub fn set_timestamp<T>(self, v: T) -> Self
pub fn set_timestamp<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_timestamp<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_timestamp<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for FutureReservationStatusExistingMatchingUsageInfo
impl Clone for FutureReservationStatusExistingMatchingUsageInfo
Source§fn clone(&self) -> FutureReservationStatusExistingMatchingUsageInfo
fn clone(&self) -> FutureReservationStatusExistingMatchingUsageInfo
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 FutureReservationStatusExistingMatchingUsageInfo
impl Default for FutureReservationStatusExistingMatchingUsageInfo
Source§fn default() -> FutureReservationStatusExistingMatchingUsageInfo
fn default() -> FutureReservationStatusExistingMatchingUsageInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for FutureReservationStatusExistingMatchingUsageInfo
impl PartialEq for FutureReservationStatusExistingMatchingUsageInfo
Source§fn eq(&self, other: &FutureReservationStatusExistingMatchingUsageInfo) -> bool
fn eq(&self, other: &FutureReservationStatusExistingMatchingUsageInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FutureReservationStatusExistingMatchingUsageInfo
Auto Trait Implementations§
impl Freeze for FutureReservationStatusExistingMatchingUsageInfo
impl RefUnwindSafe for FutureReservationStatusExistingMatchingUsageInfo
impl Send for FutureReservationStatusExistingMatchingUsageInfo
impl Sync for FutureReservationStatusExistingMatchingUsageInfo
impl Unpin for FutureReservationStatusExistingMatchingUsageInfo
impl UnwindSafe for FutureReservationStatusExistingMatchingUsageInfo
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