pub struct ImCoreConfig {
pub service_base_url: ServiceEndpoint,
pub did_domain: String,
pub user_service_endpoint: Option<ServiceEndpoint>,
pub message_service_endpoint: Option<ServiceEndpoint>,
pub mail_service_endpoint: Option<ServiceEndpoint>,
pub anp_service_endpoint: Option<ServiceEndpoint>,
pub anp_service_did: Option<Did>,
pub ca_bundle: Option<String>,
pub transport_policy: MessageTransportPolicy,
}Fields§
§service_base_url: ServiceEndpoint§did_domain: String§user_service_endpoint: Option<ServiceEndpoint>§message_service_endpoint: Option<ServiceEndpoint>§mail_service_endpoint: Option<ServiceEndpoint>§anp_service_endpoint: Option<ServiceEndpoint>§anp_service_did: Option<Did>§ca_bundle: Option<String>§transport_policy: MessageTransportPolicyImplementations§
Source§impl ImCoreConfig
impl ImCoreConfig
Trait Implementations§
Source§impl Clone for ImCoreConfig
impl Clone for ImCoreConfig
Source§fn clone(&self) -> ImCoreConfig
fn clone(&self) -> ImCoreConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImCoreConfig
impl Debug for ImCoreConfig
Source§impl<'de> Deserialize<'de> for ImCoreConfig
impl<'de> Deserialize<'de> for ImCoreConfig
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
impl Eq for ImCoreConfig
Source§impl PartialEq for ImCoreConfig
impl PartialEq for ImCoreConfig
Source§fn eq(&self, other: &ImCoreConfig) -> bool
fn eq(&self, other: &ImCoreConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImCoreConfig
impl Serialize for ImCoreConfig
impl StructuralPartialEq for ImCoreConfig
Auto Trait Implementations§
impl Freeze for ImCoreConfig
impl RefUnwindSafe for ImCoreConfig
impl Send for ImCoreConfig
impl Sync for ImCoreConfig
impl Unpin for ImCoreConfig
impl UnsafeUnpin for ImCoreConfig
impl UnwindSafe for ImCoreConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.