pub struct LdpAdapterConfig {
pub delegate_id: String,
pub trust_domain: TrustDomain,
pub session: SessionConfig,
pub enforce_trust_domains: bool,
pub attach_provenance: bool,
pub signing_secret: Option<String>,
}Expand description
Configuration for the LDP protocol adapter.
Fields§
§delegate_id: StringThis adapter’s delegate ID.
trust_domain: TrustDomainTrust domain for this adapter.
session: SessionConfigSession configuration defaults.
enforce_trust_domains: boolWhether to enforce trust domain checks.
attach_provenance: boolWhether to attach provenance to all task results.
signing_secret: Option<String>Shared secret for HMAC message signing. If None, signing is disabled.
Trait Implementations§
Source§impl Clone for LdpAdapterConfig
impl Clone for LdpAdapterConfig
Source§fn clone(&self) -> LdpAdapterConfig
fn clone(&self) -> LdpAdapterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LdpAdapterConfig
impl Debug for LdpAdapterConfig
Source§impl Default for LdpAdapterConfig
impl Default for LdpAdapterConfig
Source§impl<'de> Deserialize<'de> for LdpAdapterConfig
impl<'de> Deserialize<'de> for LdpAdapterConfig
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 LdpAdapterConfig
impl RefUnwindSafe for LdpAdapterConfig
impl Send for LdpAdapterConfig
impl Sync for LdpAdapterConfig
impl Unpin for LdpAdapterConfig
impl UnsafeUnpin for LdpAdapterConfig
impl UnwindSafe for LdpAdapterConfig
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