pub struct SecretUri { /* private fields */ }Implementations§
Source§impl SecretUri
impl SecretUri
pub fn new( scope: Scope, category: impl Into<String>, name: impl Into<String>, ) -> Result<SecretUri, Error>
pub fn scope(&self) -> &Scope
pub fn category(&self) -> &str
pub fn name(&self) -> &str
pub fn version(&self) -> Option<&str>
pub fn with_version(self, version: Option<&str>) -> Result<SecretUri, Error>
pub fn parse(input: &str) -> Result<SecretUri, Error>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SecretUri
Available on crate feature serde only.
impl<'de> Deserialize<'de> for SecretUri
Available on crate feature
serde only.Source§fn deserialize<D>(
deserializer: D,
) -> Result<SecretUri, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SecretUri, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SecretUri
Available on crate feature serde only.
impl Serialize for SecretUri
Available on crate feature
serde only.Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SecretUri
impl StructuralPartialEq for SecretUri
Auto Trait Implementations§
impl Freeze for SecretUri
impl RefUnwindSafe for SecretUri
impl Send for SecretUri
impl Sync for SecretUri
impl Unpin for SecretUri
impl UnsafeUnpin for SecretUri
impl UnwindSafe for SecretUri
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§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.