#[non_exhaustive]pub enum AdminTarget {
Action {
module: String,
action: String,
},
Table {
module: String,
table: String,
},
ApiOperation {
operation_id: String,
},
}Expand description
展示元数据引用的稳定核心目标。
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Action
Registry 中的 Action 稳定名称。
Table
模块内的 crate::table::TableDefinition 稳定名称。
ApiOperation
DefinitionCatalog 的 operation id。
Implementations§
Source§impl AdminTarget
impl AdminTarget
Trait Implementations§
Source§impl Clone for AdminTarget
impl Clone for AdminTarget
Source§impl Debug for AdminTarget
impl Debug for AdminTarget
impl Eq for AdminTarget
Source§impl PartialEq for AdminTarget
impl PartialEq for AdminTarget
impl StructuralPartialEq for AdminTarget
Auto Trait Implementations§
impl Forget for AdminTarget
impl Freeze for AdminTarget
impl Move for AdminTarget
impl RefUnwindSafe for AdminTarget
impl Send for AdminTarget
impl Sync for AdminTarget
impl Unpin for AdminTarget
impl UnsafeUnpin for AdminTarget
impl UnwindSafe for AdminTarget
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more