pub struct AggregateType {
pub aggregate_kind: AggregateStateAggregateKind,
pub domain: PlatformDomain,
pub country: Country,
pub category: u8,
pub subcategory: AggregateStateSubcategory,
pub specific: AggregateStateSpecific,
pub extra: u8,
}Expand description
6.2.5 Aggregate Type record
Fields§
§aggregate_kind: AggregateStateAggregateKind§domain: PlatformDomain§country: Country§category: u8§subcategory: AggregateStateSubcategory§specific: AggregateStateSpecific§extra: u8Implementations§
Source§impl AggregateType
impl AggregateType
pub fn with_aggregate_kind( self, aggregate_kind: AggregateStateAggregateKind, ) -> Self
pub fn with_domain(self, domain: PlatformDomain) -> Self
pub fn with_country(self, country: Country) -> Self
pub fn with_category(self, category: u8) -> Self
pub fn with_subcategory(self, subcategory: AggregateStateSubcategory) -> Self
pub fn with_specific(self, specific: AggregateStateSpecific) -> Self
pub fn with_extra(self, extra: u8) -> Self
pub fn record_length(&self) -> u16
Trait Implementations§
Source§impl Clone for AggregateType
impl Clone for AggregateType
Source§fn clone(&self) -> AggregateType
fn clone(&self) -> AggregateType
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 Debug for AggregateType
impl Debug for AggregateType
Source§impl Default for AggregateType
impl Default for AggregateType
Source§fn default() -> AggregateType
fn default() -> AggregateType
Returns the “default value” for a type. Read more
Source§impl Display for AggregateType
impl Display for AggregateType
Source§impl FromStr for AggregateType
impl FromStr for AggregateType
Source§impl Hash for AggregateType
impl Hash for AggregateType
Source§impl PartialEq for AggregateType
impl PartialEq for AggregateType
Source§impl TryFrom<&str> for AggregateType
impl TryFrom<&str> for AggregateType
Source§impl TryFrom<String> for AggregateType
impl TryFrom<String> for AggregateType
impl Eq for AggregateType
impl StructuralPartialEq for AggregateType
Auto Trait Implementations§
impl Freeze for AggregateType
impl RefUnwindSafe for AggregateType
impl Send for AggregateType
impl Sync for AggregateType
impl Unpin for AggregateType
impl UnwindSafe for AggregateType
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