pub struct MinimalAnnotationParameter {
pub common: CommonAnnotationParameter,
pub name_hash: NameHash,
pub default_value: AnnotationParameterValue,
}Fields§
§common: CommonAnnotationParameter§name_hash: NameHash§default_value: AnnotationParameterValueTrait Implementations§
Source§impl Clone for MinimalAnnotationParameter
impl Clone for MinimalAnnotationParameter
Source§fn clone(&self) -> MinimalAnnotationParameter
fn clone(&self) -> MinimalAnnotationParameter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MinimalAnnotationParameter
impl Debug for MinimalAnnotationParameter
Source§impl Default for MinimalAnnotationParameter
impl Default for MinimalAnnotationParameter
Source§fn default() -> MinimalAnnotationParameter
fn default() -> MinimalAnnotationParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MinimalAnnotationParameter
impl<'de> Deserialize<'de> for MinimalAnnotationParameter
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 MinimalAnnotationParameter
impl PartialEq for MinimalAnnotationParameter
Source§fn eq(&self, other: &MinimalAnnotationParameter) -> bool
fn eq(&self, other: &MinimalAnnotationParameter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MinimalAnnotationParameter
Auto Trait Implementations§
impl Freeze for MinimalAnnotationParameter
impl RefUnwindSafe for MinimalAnnotationParameter
impl Send for MinimalAnnotationParameter
impl Sync for MinimalAnnotationParameter
impl Unpin for MinimalAnnotationParameter
impl UnsafeUnpin for MinimalAnnotationParameter
impl UnwindSafe for MinimalAnnotationParameter
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