pub enum AnnotationKind {
Show 74 variants
Id,
AutoId,
Optional,
Position,
Value,
Extensibility,
Final,
Appendable,
Mutable,
Key,
MustUnderstand,
DefaultLiteral,
Default,
Range,
Min,
Max,
Unit,
BitBound,
External,
Nested,
Verbatim,
Service,
Oneway,
Ami,
HashId,
DefaultNested,
IgnoreLiteralNames,
TryConstruct,
NonSerialized,
DataRepresentation,
Topic,
Choice,
Empty,
DdsService,
DdsRequestTopic,
DdsReplyTopic,
Rename,
Name,
RenameAll,
Skip,
OmitEmpty,
Doc,
Derive,
Rust,
Version,
Added,
Removed,
Http,
Get,
Post,
Put,
Patch,
Delete,
Head,
Options,
Path,
Query,
Header,
Cookie,
Body,
Flatten,
HttpBasic,
HttpBearer,
ApiKey,
NoSecurity,
Request,
Response,
ServerStream,
ClientStream,
BidiStream,
StreamCodec,
Upgrade,
Deprecated,
Cors,
}Expand description
Typed identity of an annotation from the shared built-in table.
Variants§
Id
The @id annotation.
AutoId
The @autoid annotation.
Optional
The @optional annotation.
Position
The @position annotation.
Value
The @value annotation.
Extensibility
The @extensibility annotation.
Final
The @final annotation.
Appendable
The @appendable annotation.
Mutable
The @mutable annotation.
Key
The @key annotation.
MustUnderstand
The @must_understand annotation.
DefaultLiteral
The @default_literal annotation.
Default
The @default annotation.
Range
The @range annotation.
Min
The @min annotation.
Max
The @max annotation.
Unit
The @unit annotation.
BitBound
The @bit_bound annotation.
External
The @external annotation.
Nested
The @nested annotation.
Verbatim
The @verbatim annotation.
Service
The @service annotation.
Oneway
The @oneway annotation.
Ami
The @ami annotation.
HashId
The @hashid annotation.
DefaultNested
The @default_nested annotation.
IgnoreLiteralNames
The @ignore_literal_names annotation.
TryConstruct
The @try_construct annotation.
NonSerialized
The @non_serialized annotation.
DataRepresentation
The @data_representation annotation.
Topic
The @topic annotation.
Choice
The @choice annotation.
Empty
The @empty annotation.
DdsService
The @dds_service annotation.
DdsRequestTopic
The @dds_request_topic annotation.
DdsReplyTopic
The @dds_reply_topic annotation.
Rename
The @rename annotation.
Name
The @name annotation.
RenameAll
The @rename_all annotation.
Skip
The @skip annotation.
OmitEmpty
The @omitempty annotation.
Doc
The @doc annotation.
Derive
The @derive annotation.
Rust
The @rust annotation.
Version
The @version annotation.
Added
The @added annotation.
Removed
The @removed annotation.
Http
The @http annotation.
Get
The @get annotation.
Post
The @post annotation.
Put
The @put annotation.
Patch
The @patch annotation.
Delete
The @delete annotation.
Head
The @head annotation.
Options
The @options annotation.
Path
The @path annotation.
Query
The @query annotation.
Header
The @header annotation.
Cookie
The @cookie annotation.
Body
The @body annotation.
Flatten
The @flatten annotation.
HttpBasic
The @http_basic annotation.
HttpBearer
The @http_bearer annotation.
ApiKey
The @api_key annotation.
NoSecurity
The @no_security annotation.
Request
The @request annotation.
Response
The @response annotation.
ServerStream
The @server_stream annotation.
ClientStream
The @client_stream annotation.
BidiStream
The @bidi_stream annotation.
StreamCodec
The @stream_codec annotation.
Upgrade
The @upgrade annotation.
Deprecated
The @deprecated annotation.
Cors
The @cors annotation.
Implementations§
Trait Implementations§
Source§impl Clone for AnnotationKind
impl Clone for AnnotationKind
impl Copy for AnnotationKind
Source§impl Debug for AnnotationKind
impl Debug for AnnotationKind
impl Eq for AnnotationKind
Source§impl PartialEq for AnnotationKind
impl PartialEq for AnnotationKind
impl StructuralPartialEq for AnnotationKind
Auto Trait Implementations§
impl Freeze for AnnotationKind
impl RefUnwindSafe for AnnotationKind
impl Send for AnnotationKind
impl Sync for AnnotationKind
impl Unpin for AnnotationKind
impl UnsafeUnpin for AnnotationKind
impl UnwindSafe for AnnotationKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.