Struct sep2_common::packages::pricing::RateComponentList
source · pub struct RateComponentList {
pub rate_component: Vec<RateComponent>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
pricing
only.Fields§
§rate_component: Vec<RateComponent>
§all: Uint32
The number specifying “all” of the items in the list. Required on a response to a GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for RateComponentList
impl Clone for RateComponentList
source§fn clone(&self) -> RateComponentList
fn clone(&self) -> RateComponentList
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 Debug for RateComponentList
impl Debug for RateComponentList
source§impl Default for RateComponentList
impl Default for RateComponentList
source§fn default() -> RateComponentList
fn default() -> RateComponentList
Returns the “default value” for a type. Read more
source§impl PartialEq<RateComponentList> for RateComponentList
impl PartialEq<RateComponentList> for RateComponentList
source§fn eq(&self, other: &RateComponentList) -> bool
fn eq(&self, other: &RateComponentList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for RateComponentList
impl SEList for RateComponentList
type Inner = RateComponent
fn all(&self) -> Uint32
fn all_mut(&mut self) -> &mut Uint32
fn results(&self) -> Uint32
fn results_mut(&mut self) -> &mut Uint32
fn list_as_slice(&self) -> &[Self::Inner]
fn list_mut(&mut self) -> &mut Vec<Self::Inner>
source§impl SEResource for RateComponentList
impl SEResource for RateComponentList
source§impl YaDeserialize for RateComponentList
impl YaDeserialize for RateComponentList
source§impl YaSerialize for RateComponentList
impl YaSerialize for RateComponentList
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for RateComponentList
impl StructuralEq for RateComponentList
impl StructuralPartialEq for RateComponentList
Auto Trait Implementations§
impl RefUnwindSafe for RateComponentList
impl Send for RateComponentList
impl Sync for RateComponentList
impl Unpin for RateComponentList
impl UnwindSafe for RateComponentList
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