pub struct NodeDeliveryAuth {
pub auth_type: String,
pub token: Option<String>,
pub headers: Option<BTreeMap<String, String>>,
pub secret: Option<String>,
pub signature_header: Option<String>,
pub timestamp_header: Option<String>,
pub signed_payload: Option<String>,
pub encoding: Option<String>,
pub prefix: Option<String>,
}Expand description
HTTP push authentication settings for a node delivery contract.
Fields§
§auth_type: String§token: Option<String>§headers: Option<BTreeMap<String, String>>§secret: Option<String>§signature_header: Option<String>§timestamp_header: Option<String>§signed_payload: Option<String>§encoding: Option<String>§prefix: Option<String>Trait Implementations§
Source§impl Clone for NodeDeliveryAuth
impl Clone for NodeDeliveryAuth
Source§fn clone(&self) -> NodeDeliveryAuth
fn clone(&self) -> NodeDeliveryAuth
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 NodeDeliveryAuth
impl Debug for NodeDeliveryAuth
Source§impl<'de> Deserialize<'de> for NodeDeliveryAuth
impl<'de> Deserialize<'de> for NodeDeliveryAuth
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 NodeDeliveryAuth
impl RefUnwindSafe for NodeDeliveryAuth
impl Send for NodeDeliveryAuth
impl Sync for NodeDeliveryAuth
impl Unpin for NodeDeliveryAuth
impl UnsafeUnpin for NodeDeliveryAuth
impl UnwindSafe for NodeDeliveryAuth
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