pub struct SetDefaultAnnotation<S> {
pub name: S,
pub value: S,
pub annotation_type: AnnotationType,
}Fields§
§name: S§value: S§annotation_type: AnnotationTypeTrait Implementations§
Source§impl<S: Clone> Clone for SetDefaultAnnotation<S>
impl<S: Clone> Clone for SetDefaultAnnotation<S>
Source§fn clone(&self) -> SetDefaultAnnotation<S>
fn clone(&self) -> SetDefaultAnnotation<S>
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<S: Debug> Debug for SetDefaultAnnotation<S>
impl<S: Debug> Debug for SetDefaultAnnotation<S>
Source§impl<'de, S> Deserialize<'de> for SetDefaultAnnotation<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for SetDefaultAnnotation<S>where
S: Deserialize<'de>,
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<S> Modifier for SetDefaultAnnotation<S>
impl<S> Modifier for SetDefaultAnnotation<S>
Source§impl<S> Serialize for SetDefaultAnnotation<S>where
S: Serialize,
impl<S> Serialize for SetDefaultAnnotation<S>where
S: Serialize,
impl<S: Copy> Copy for SetDefaultAnnotation<S>
Auto Trait Implementations§
impl<S> Freeze for SetDefaultAnnotation<S>where
S: Freeze,
impl<S> RefUnwindSafe for SetDefaultAnnotation<S>where
S: RefUnwindSafe,
impl<S> Send for SetDefaultAnnotation<S>where
S: Send,
impl<S> Sync for SetDefaultAnnotation<S>where
S: Sync,
impl<S> Unpin for SetDefaultAnnotation<S>where
S: Unpin,
impl<S> UnwindSafe for SetDefaultAnnotation<S>where
S: 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