pub enum RbumCertConfStatusKind {
Disabled,
Enabled,
}Expand description
Resource certificate configuration status kind
资源凭证配置状态类型
Variants§
Implementations§
Source§impl RbumCertConfStatusKind
impl RbumCertConfStatusKind
pub fn from_int(s: i16) -> TardisResult<RbumCertConfStatusKind>
pub fn to_int(&self) -> i16
Trait Implementations§
Source§impl Clone for RbumCertConfStatusKind
impl Clone for RbumCertConfStatusKind
Source§fn clone(&self) -> RbumCertConfStatusKind
fn clone(&self) -> RbumCertConfStatusKind
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 RbumCertConfStatusKind
impl Debug for RbumCertConfStatusKind
Source§impl<'de> Deserialize<'de> for RbumCertConfStatusKind
impl<'de> Deserialize<'de> for RbumCertConfStatusKind
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 RbumCertConfStatusKind
impl Display for RbumCertConfStatusKind
Source§impl ParseFromJSON for RbumCertConfStatusKind
impl ParseFromJSON for RbumCertConfStatusKind
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 RbumCertConfStatusKind
impl ParseFromMultipartField for RbumCertConfStatusKind
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 RbumCertConfStatusKind
impl ParseFromParameter for RbumCertConfStatusKind
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 RbumCertConfStatusKind
impl PartialEq for RbumCertConfStatusKind
Source§impl Serialize for RbumCertConfStatusKind
impl Serialize for RbumCertConfStatusKind
Source§impl ToJSON for RbumCertConfStatusKind
impl ToJSON for RbumCertConfStatusKind
Source§impl Type for RbumCertConfStatusKind
impl Type for RbumCertConfStatusKind
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 = RbumCertConfStatusKind
type RawValueType = RbumCertConfStatusKind
The raw type used for validator. Read more
Source§type RawElementValueType = RbumCertConfStatusKind
type RawElementValueType = RbumCertConfStatusKind
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 RbumCertConfStatusKind
impl StructuralPartialEq for RbumCertConfStatusKind
Auto Trait Implementations§
impl Freeze for RbumCertConfStatusKind
impl RefUnwindSafe for RbumCertConfStatusKind
impl Send for RbumCertConfStatusKind
impl Sync for RbumCertConfStatusKind
impl Unpin for RbumCertConfStatusKind
impl UnwindSafe for RbumCertConfStatusKind
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<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.