pub struct SpiBsCertResp {
pub kind_code: String,
pub conn_uri: String,
pub ak: String,
pub sk: String,
pub ext: String,
pub private: bool,
}Expand description
Backend service certificate information
后端服务凭证信息
Fields§
§kind_code: StringSPI service type code
SPI服务类型编码
conn_uri: StringConnection URI
连接URI
ak: StringConnection username/credential name
连接用户名/凭证名
sk: StringConnection password/credential password
连接密码/凭证密码
ext: StringExtended information. Such as connection pool information
扩展信息。比如连接池信息
private: boolIs private. Private service can only be used by one subject of request (tenant or application)
是否私有。私有的服务只能用于一个请求主体(租户或应用)
Implementations§
Source§impl SpiBsCertResp
impl SpiBsCertResp
pub fn bs_not_implemented(&self) -> TardisError
Trait Implementations§
Source§impl Debug for SpiBsCertResp
impl Debug for SpiBsCertResp
Source§impl<'de> Deserialize<'de> for SpiBsCertResp
impl<'de> Deserialize<'de> for SpiBsCertResp
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
Auto Trait Implementations§
impl Freeze for SpiBsCertResp
impl RefUnwindSafe for SpiBsCertResp
impl Send for SpiBsCertResp
impl Sync for SpiBsCertResp
impl Unpin for SpiBsCertResp
impl UnwindSafe for SpiBsCertResp
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> 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 more