Struct amazon_sp_services::models::range_capacity::RangeCapacity
source · [−]pub struct RangeCapacity {
pub capacity_type: Option<CapacityType>,
pub slots: Option<Vec<RangeSlot>>,
}Expand description
RangeCapacity : Range capacity entity where each entry has a capacity type and corresponding slots.
Fields
capacity_type: Option<CapacityType>slots: Option<Vec<RangeSlot>>Array of capacity slots in range slot format.
Implementations
sourceimpl RangeCapacity
impl RangeCapacity
sourcepub fn new() -> RangeCapacity
pub fn new() -> RangeCapacity
Range capacity entity where each entry has a capacity type and corresponding slots.
Trait Implementations
sourceimpl Clone for RangeCapacity
impl Clone for RangeCapacity
sourcefn clone(&self) -> RangeCapacity
fn clone(&self) -> RangeCapacity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RangeCapacity
impl Debug for RangeCapacity
sourceimpl Default for RangeCapacity
impl Default for RangeCapacity
sourcefn default() -> RangeCapacity
fn default() -> RangeCapacity
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RangeCapacity
impl<'de> Deserialize<'de> for RangeCapacity
sourcefn 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
sourceimpl PartialEq<RangeCapacity> for RangeCapacity
impl PartialEq<RangeCapacity> for RangeCapacity
sourcefn eq(&self, other: &RangeCapacity) -> bool
fn eq(&self, other: &RangeCapacity) -> bool
sourceimpl Serialize for RangeCapacity
impl Serialize for RangeCapacity
impl StructuralPartialEq for RangeCapacity
Auto Trait Implementations
impl RefUnwindSafe for RangeCapacity
impl Send for RangeCapacity
impl Sync for RangeCapacity
impl Unpin for RangeCapacity
impl UnwindSafe for RangeCapacity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more