pub enum Annotation {
Show 41 variants
Id {
value: String,
},
Key {
value: Option<String>,
},
AutoId {
value: Option<String>,
},
Optional {
value: Option<String>,
},
Position {
value: String,
},
Value {
value: String,
},
Extensibility {
kind: String,
},
Final,
Appendable,
Mutable,
MustUnderstand {
value: Option<String>,
},
Default {
value: String,
},
Range {
min: String,
max: String,
},
Min {
value: String,
},
Max {
value: String,
},
Unit {
value: String,
},
BitBound {
value: String,
},
External {
value: Option<String>,
},
Nested {
value: Option<String>,
},
Verbatim {
language: Option<String>,
placement: Option<String>,
text: String,
},
Service {
platform: Option<String>,
},
Oneway {
value: Option<String>,
},
Ami {
value: Option<String>,
},
HashId {
value: Option<String>,
},
DefaultNested {
value: Option<String>,
},
IgnoreLiteralNames {
value: Option<String>,
},
TryConstruct {
value: Option<String>,
},
NonSerialized {
value: Option<String>,
},
DataRepresentation {
kinds: Vec<String>,
},
Topic {
name: Option<String>,
platform: Option<String>,
},
Choice,
Empty,
DdsService,
DdsRequestTopic {
name: String,
},
DdsReplyTopic {
name: String,
},
Builtin {
name: String,
params: Option<AnnotationParams>,
},
ScopedName {
name: ScopedName,
params: Option<AnnotationParams>,
},
DefaultLiteral,
Rename {
name: String,
},
RenameAll {
rule: RenameRule,
},
Skip,
}Variants§
Id
Key
AutoId
Optional
Position
Value
Extensibility
Final
Appendable
Mutable
MustUnderstand
Default
Range
Min
Max
Unit
BitBound
External
Nested
Verbatim
Service
Oneway
Ami
HashId
DefaultNested
IgnoreLiteralNames
TryConstruct
NonSerialized
DataRepresentation
Topic
Choice
Empty
DdsService
DdsRequestTopic
DdsReplyTopic
Builtin
ScopedName
DefaultLiteral
Rename
RenameAll
Fields
§
rule: RenameRuleSkip
Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
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 Annotation
impl Debug for Annotation
Source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
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 From<AnnotationAppl> for Annotation
impl From<AnnotationAppl> for Annotation
Source§fn from(value: AnnotationAppl) -> Self
fn from(value: AnnotationAppl) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnsafeUnpin for Annotation
impl UnwindSafe for Annotation
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