pub struct RbumCertModifyReq {
pub ak: Option<TrimString>,
pub sk: Option<TrimString>,
pub sk_invisible: Option<bool>,
pub ignore_check_sk: bool,
pub ext: Option<String>,
pub start_time: Option<DateTime<Utc>>,
pub end_time: Option<DateTime<Utc>>,
pub conn_uri: Option<String>,
pub status: Option<RbumCertStatusKind>,
}Expand description
Modify request for certificate
凭证修改请求
Fields§
§ak: Option<TrimString>Certification access key
凭证名
see crate::rbum::dto::rbum_cert_conf_dto::RbumCertConfModifyReq::ak_rule
sk: Option<TrimString>§sk_invisible: Option<bool>Whether to hide the sk
是否隐藏密钥
In some scenarios with high security requirements, you can choose to hide the key, such as: display as “******”.
在一些安全性要求较高的场景下,可以选择隐藏密钥,如:显示为“******”。
ignore_check_sk: boolWhether to ignore the key check
是否忽略密钥校验
WARNING: This field is only for special scenarios, please use it with caution.
警告:此字段仅用于特殊场景,请谨慎使用。
ext: Option<String>Certificate extension information
凭证扩展信息
Such as database connection pool configuration.
比如数据库连接池配置。
Different from crate::rbum::dto::rbum_cert_conf_dto::RbumCertConfModifyReq::ext, this field is used to identify the specific extension information of the certificate.
与 crate::rbum::dto::rbum_cert_conf_dto::RbumCertConfModifyReq::ext 不同,此字段用于标识该条凭证的特有的扩展信息。
start_time: Option<DateTime<Utc>>Certificate effective time
凭证的生效时间
end_time: Option<DateTime<Utc>>Certificate expiration time
凭证的失效时间
conn_uri: Option<String>Certificate connection address
凭证连接地址
Different from crate::rbum::dto::rbum_cert_conf_dto::RbumCertConfModifyReq::conn_uri, this field is used to identify the specific connection address of the certificate.
与 crate::rbum::dto::rbum_cert_conf_dto::RbumCertConfModifyReq::conn_uri 不同,此字段用于标识该条凭证的特有的连接地址。
status: Option<RbumCertStatusKind>Credential status
凭证的状态
Trait Implementations§
Source§impl Debug for RbumCertModifyReq
impl Debug for RbumCertModifyReq
Source§impl Default for RbumCertModifyReq
impl Default for RbumCertModifyReq
Source§fn default() -> RbumCertModifyReq
fn default() -> RbumCertModifyReq
Source§impl<'de> Deserialize<'de> for RbumCertModifyReq
impl<'de> Deserialize<'de> for RbumCertModifyReq
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>,
impl IsObjectType for RbumCertModifyReq
Source§impl ParseFromJSON for RbumCertModifyReq
impl ParseFromJSON for RbumCertModifyReq
Source§fn parse_from_json(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_json(value: Option<Value>) -> Result<Self, ParseError<Self>>
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>>
Source§impl ParseFromXML for RbumCertModifyReq
impl ParseFromXML for RbumCertModifyReq
Source§fn parse_from_xml(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_xml(value: Option<Value>) -> Result<Self, ParseError<Self>>
serde_json::Value.Source§fn parse_from_xml_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_xml_string(s: &str) -> Result<Self, ParseError<Self>>
Source§impl ParseFromYAML for RbumCertModifyReq
impl ParseFromYAML for RbumCertModifyReq
Source§fn parse_from_yaml(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_yaml(value: Option<Value>) -> Result<Self, ParseError<Self>>
serde_json::Value.Source§fn parse_from_yaml_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_yaml_string(s: &str) -> Result<Self, ParseError<Self>>
Source§impl Serialize for RbumCertModifyReq
impl Serialize for RbumCertModifyReq
Source§impl ToJSON for RbumCertModifyReq
impl ToJSON for RbumCertModifyReq
Source§impl ToXML for RbumCertModifyReq
impl ToXML for RbumCertModifyReq
Source§impl ToYAML for RbumCertModifyReq
impl ToYAML for RbumCertModifyReq
Source§impl Type for RbumCertModifyReq
impl Type for RbumCertModifyReq
Source§const IS_REQUIRED: bool = true
const IS_REQUIRED: bool = true
true, it means that this type is required.Source§type RawValueType = RbumCertModifyReq
type RawValueType = RbumCertModifyReq
Source§type RawElementValueType = RbumCertModifyReq
type RawElementValueType = RbumCertModifyReq
Source§fn schema_ref() -> MetaSchemaRef
fn schema_ref() -> MetaSchemaRef
Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
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>
Auto Trait Implementations§
impl Freeze for RbumCertModifyReq
impl RefUnwindSafe for RbumCertModifyReq
impl Send for RbumCertModifyReq
impl Sync for RbumCertModifyReq
impl Unpin for RbumCertModifyReq
impl UnsafeUnpin for RbumCertModifyReq
impl UnwindSafe for RbumCertModifyReq
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
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>
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