pub struct MachinePresentationDescriptor<M: 'static = ()> {
pub label: Option<&'static str>,
pub description: Option<&'static str>,
pub metadata: M,
}Expand description
Optional machine-level presentation metadata.
Fields§
§label: Option<&'static str>Optional short human-facing machine label.
description: Option<&'static str>Optional longer human-facing machine description.
metadata: MConsumer-owned typed machine metadata.
Trait Implementations§
Source§impl<M: Clone + 'static> Clone for MachinePresentationDescriptor<M>
impl<M: Clone + 'static> Clone for MachinePresentationDescriptor<M>
Source§fn clone(&self) -> MachinePresentationDescriptor<M>
fn clone(&self) -> MachinePresentationDescriptor<M>
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<M: Debug + 'static> Debug for MachinePresentationDescriptor<M>
impl<M: Debug + 'static> Debug for MachinePresentationDescriptor<M>
Source§impl<M: PartialEq + 'static> PartialEq for MachinePresentationDescriptor<M>
impl<M: PartialEq + 'static> PartialEq for MachinePresentationDescriptor<M>
Source§fn eq(&self, other: &MachinePresentationDescriptor<M>) -> bool
fn eq(&self, other: &MachinePresentationDescriptor<M>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<M: Copy + 'static> Copy for MachinePresentationDescriptor<M>
impl<M: Eq + 'static> Eq for MachinePresentationDescriptor<M>
impl<M: 'static> StructuralPartialEq for MachinePresentationDescriptor<M>
Auto Trait Implementations§
impl<M> Freeze for MachinePresentationDescriptor<M>where
M: Freeze,
impl<M> RefUnwindSafe for MachinePresentationDescriptor<M>where
M: RefUnwindSafe,
impl<M> Send for MachinePresentationDescriptor<M>where
M: Send,
impl<M> Sync for MachinePresentationDescriptor<M>where
M: Sync,
impl<M> Unpin for MachinePresentationDescriptor<M>where
M: Unpin,
impl<M> UnsafeUnpin for MachinePresentationDescriptor<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for MachinePresentationDescriptor<M>where
M: UnwindSafe,
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