pub struct VtaConfig {
pub url: Option<String>,
pub did: Option<String>,
pub context_id: Option<String>,
}Expand description
VTA (Verifiable Trust Architecture) connection configuration.
Used by services that integrate with a VTA for key management and DID operations.
Fields§
§url: Option<String>VTA REST URL for remote key management
did: Option<String>VTA DID for DIDComm communication
context_id: Option<String>VTA context ID for this service’s keys
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VtaConfig
impl<'de> Deserialize<'de> for VtaConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VtaConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VtaConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for VtaConfig
impl Serialize for VtaConfig
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
Auto Trait Implementations§
impl Freeze for VtaConfig
impl RefUnwindSafe for VtaConfig
impl Send for VtaConfig
impl Sync for VtaConfig
impl Unpin for VtaConfig
impl UnsafeUnpin for VtaConfig
impl UnwindSafe for VtaConfig
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