pub enum RbumCertRelKind {
Item,
Set,
Rel,
}Expand description
Certificate relationship kind
凭证关联的类型
Variants§
Implementations§
Source§impl RbumCertRelKind
impl RbumCertRelKind
pub fn from_int(s: i16) -> TardisResult<RbumCertRelKind>
pub fn to_int(&self) -> i16
Trait Implementations§
Source§impl Clone for RbumCertRelKind
impl Clone for RbumCertRelKind
Source§fn clone(&self) -> RbumCertRelKind
fn clone(&self) -> RbumCertRelKind
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 Debug for RbumCertRelKind
impl Debug for RbumCertRelKind
Source§impl<'de> Deserialize<'de> for RbumCertRelKind
impl<'de> Deserialize<'de> for RbumCertRelKind
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 Display for RbumCertRelKind
impl Display for RbumCertRelKind
Source§impl ParseFromJSON for RbumCertRelKind
impl ParseFromJSON for RbumCertRelKind
Source§fn parse_from_json(value: Option<Value>) -> ParseResult<Self>
fn parse_from_json(value: Option<Value>) -> ParseResult<Self>
Parse from
serde_json::Value.Source§fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from JSON string.
Source§impl ParseFromMultipartField for RbumCertRelKind
impl ParseFromMultipartField for RbumCertRelKind
Source§async fn parse_from_multipart(field: Option<Field>) -> ParseResult<Self>
async fn parse_from_multipart(field: Option<Field>) -> ParseResult<Self>
Parse from multipart field.
Source§fn parse_from_repeated_field(
self,
_field: Field,
) -> impl Future<Output = Result<Self, ParseError<Self>>> + Send
fn parse_from_repeated_field( self, _field: Field, ) -> impl Future<Output = Result<Self, ParseError<Self>>> + Send
Parse from repeated multipart field.
Source§impl ParseFromParameter for RbumCertRelKind
impl ParseFromParameter for RbumCertRelKind
Source§fn parse_from_parameter(value: &str) -> ParseResult<Self>
fn parse_from_parameter(value: &str) -> ParseResult<Self>
Parse from parameter.
Source§fn parse_from_parameters<I, A>(iter: I) -> Result<Self, ParseError<Self>>
fn parse_from_parameters<I, A>(iter: I) -> Result<Self, ParseError<Self>>
Parse from multiple parameters.
Source§impl PartialEq for RbumCertRelKind
impl PartialEq for RbumCertRelKind
Source§impl Serialize for RbumCertRelKind
impl Serialize for RbumCertRelKind
Source§impl ToJSON for RbumCertRelKind
impl ToJSON for RbumCertRelKind
Source§impl TryGetable for RbumCertRelKind
impl TryGetable for RbumCertRelKind
Source§fn try_get(res: &QueryResult, pre: &str, col: &str) -> Result<Self, TryGetError>
fn try_get(res: &QueryResult, pre: &str, col: &str) -> Result<Self, TryGetError>
Get a value from the query result with prefixed column name
Source§fn try_get_by<I: ColIdx>(
_res: &QueryResult,
_index: I,
) -> Result<Self, TryGetError>
fn try_get_by<I: ColIdx>( _res: &QueryResult, _index: I, ) -> Result<Self, TryGetError>
Get a value from the query result with an ColIdx
Source§fn try_get_by_index(
res: &QueryResult,
index: usize,
) -> Result<Self, TryGetError>
fn try_get_by_index( res: &QueryResult, index: usize, ) -> Result<Self, TryGetError>
Get a value from the query result based on the order in the select expressions
Source§impl Type for RbumCertRelKind
impl Type for RbumCertRelKind
Source§const IS_REQUIRED: bool = true
const IS_REQUIRED: bool = true
If it is
true, it means that this type is required.Source§type RawValueType = RbumCertRelKind
type RawValueType = RbumCertRelKind
The raw type used for validator. Read more
Source§type RawElementValueType = RbumCertRelKind
type RawElementValueType = RbumCertRelKind
The raw element type used for validator.
Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
Source§fn schema_ref() -> MetaSchemaRef
fn schema_ref() -> MetaSchemaRef
Get schema reference of this type.
Source§fn raw_element_iter<'a>(
&'a self,
) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
fn raw_element_iter<'a>( &'a self, ) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
Returns an iterator for traversing the elements.
impl Eq for RbumCertRelKind
impl StructuralPartialEq for RbumCertRelKind
Auto Trait Implementations§
impl Freeze for RbumCertRelKind
impl RefUnwindSafe for RbumCertRelKind
impl Send for RbumCertRelKind
impl Sync for RbumCertRelKind
impl Unpin for RbumCertRelKind
impl UnwindSafe for RbumCertRelKind
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<V> PrimaryKeyArity for Vwhere
V: TryGetable,
impl<V> PrimaryKeyArity for Vwhere
V: TryGetable,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.
Source§impl<T> TryGetableMany for Twhere
T: TryGetable,
impl<T> TryGetableMany for Twhere
T: TryGetable,
Source§fn try_get_many(
res: &QueryResult,
pre: &str,
cols: &[String],
) -> Result<T, TryGetError>
fn try_get_many( res: &QueryResult, pre: &str, cols: &[String], ) -> Result<T, TryGetError>
Get a tuple value from the query result with prefixed column name
Source§fn try_get_many_by_index(res: &QueryResult) -> Result<T, TryGetError>
fn try_get_many_by_index(res: &QueryResult) -> Result<T, TryGetError>
Get a tuple value from the query result based on the order in the select expressions