pub struct FrequencyPeriod1 {
pub tp: Frequency6Code,
pub cnt_per_prd: f64,
}Fields§
§tp: Frequency6Code§cnt_per_prd: f64Implementations§
Source§impl FrequencyPeriod1
impl FrequencyPeriod1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for FrequencyPeriod1
impl Clone for FrequencyPeriod1
Source§fn clone(&self) -> FrequencyPeriod1
fn clone(&self) -> FrequencyPeriod1
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 FrequencyPeriod1
impl Debug for FrequencyPeriod1
Source§impl Default for FrequencyPeriod1
impl Default for FrequencyPeriod1
Source§fn default() -> FrequencyPeriod1
fn default() -> FrequencyPeriod1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FrequencyPeriod1
impl<'de> Deserialize<'de> for FrequencyPeriod1
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 FrequencyPeriod1
impl PartialEq for FrequencyPeriod1
Source§impl Serialize for FrequencyPeriod1
impl Serialize for FrequencyPeriod1
impl StructuralPartialEq for FrequencyPeriod1
Auto Trait Implementations§
impl Freeze for FrequencyPeriod1
impl RefUnwindSafe for FrequencyPeriod1
impl Send for FrequencyPeriod1
impl Sync for FrequencyPeriod1
impl Unpin for FrequencyPeriod1
impl UnwindSafe for FrequencyPeriod1
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