pub struct FrcTimestampedValue {
pub timestamp: FrcTimestamp,
pub value: FrcValue,
}
Fields§
§timestamp: FrcTimestamp
§value: FrcValue
Implementations§
Source§impl FrcTimestampedValue
impl FrcTimestampedValue
pub fn new(timestamp: FrcTimestamp, value: FrcValue) -> Self
pub fn get_type(&self) -> FrcType
pub fn is_empty(&self) -> bool
pub fn is_array(&self) -> bool
pub fn is_after_timestamp(&self, timestamp: FrcTimestamp) -> bool
pub fn is_after_other(&self, other: &Self) -> bool
pub fn is_before_timestamp(&self, timestamp: FrcTimestamp) -> bool
pub fn is_before_other(&self, other: &Self) -> bool
pub fn replace_timestamp(&mut self, timestamp: FrcTimestamp)
pub fn replace_value(&mut self, value: FrcValue)
pub fn replace(&mut self, other: Self)
Trait Implementations§
Source§impl Clone for FrcTimestampedValue
impl Clone for FrcTimestampedValue
Source§fn clone(&self) -> FrcTimestampedValue
fn clone(&self) -> FrcTimestampedValue
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 FrcTimestampedValue
impl Debug for FrcTimestampedValue
Source§impl<'de> Deserialize<'de> for FrcTimestampedValue
impl<'de> Deserialize<'de> for FrcTimestampedValue
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 Display for FrcTimestampedValue
impl Display for FrcTimestampedValue
Source§impl Hash for FrcTimestampedValue
impl Hash for FrcTimestampedValue
Source§impl Into<FrcValue> for FrcTimestampedValue
impl Into<FrcValue> for FrcTimestampedValue
Source§impl PartialEq for FrcTimestampedValue
impl PartialEq for FrcTimestampedValue
Source§impl Serialize for FrcTimestampedValue
impl Serialize for FrcTimestampedValue
impl StructuralPartialEq for FrcTimestampedValue
Auto Trait Implementations§
impl Freeze for FrcTimestampedValue
impl RefUnwindSafe for FrcTimestampedValue
impl Send for FrcTimestampedValue
impl Sync for FrcTimestampedValue
impl Unpin for FrcTimestampedValue
impl UnwindSafe for FrcTimestampedValue
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