pub struct ExternalEndpoint {
pub method: Option<String>,
pub url: String,
pub tls: Option<TlsOptions>,
pub auth: Authentication,
pub headers: Vec<Header>,
pub timeout: Option<Duration>,
}Fields§
§method: Option<String>§url: String§tls: Option<TlsOptions>§auth: Authentication§headers: Vec<Header>§timeout: Option<Duration>Trait Implementations§
Source§impl Clone for ExternalEndpoint
impl Clone for ExternalEndpoint
Source§fn clone(&self) -> ExternalEndpoint
fn clone(&self) -> ExternalEndpoint
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 ExternalEndpoint
impl Debug for ExternalEndpoint
Source§impl<'de> Deserialize<'de> for ExternalEndpoint
impl<'de> Deserialize<'de> for ExternalEndpoint
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
Source§impl PartialEq for ExternalEndpoint
impl PartialEq for ExternalEndpoint
Source§impl Serialize for ExternalEndpoint
impl Serialize for ExternalEndpoint
impl Eq for ExternalEndpoint
impl StructuralPartialEq for ExternalEndpoint
Auto Trait Implementations§
impl Freeze for ExternalEndpoint
impl RefUnwindSafe for ExternalEndpoint
impl Send for ExternalEndpoint
impl Sync for ExternalEndpoint
impl Unpin for ExternalEndpoint
impl UnwindSafe for ExternalEndpoint
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<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.