#[non_exhaustive]pub struct MemberValue<T> {
pub member: EndpointId,
pub value: Option<Timed<T>>,
}Expand description
One update of a member’s value, from MemberValues.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.member: EndpointIdThe member whose value this is.
value: Option<Timed<T>>The member’s newest value, or None once it stopped publishing it.
Trait Implementations§
Source§impl<T: Clone> Clone for MemberValue<T>
impl<T: Clone> Clone for MemberValue<T>
Auto Trait Implementations§
impl<T> Freeze for MemberValue<T>where
T: Freeze,
impl<T> RefUnwindSafe for MemberValue<T>where
T: RefUnwindSafe,
impl<T> Send for MemberValue<T>where
T: Send,
impl<T> Sync for MemberValue<T>where
T: Sync,
impl<T> Unpin for MemberValue<T>where
T: Unpin,
impl<T> UnsafeUnpin for MemberValue<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for MemberValue<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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