pub struct SkillHttpSource {
pub url: String,
pub method: Option<String>,
pub headers: Option<BTreeMap<String, String>>,
pub allow_private_network: Option<bool>,
}Expand description
Config for an http source: the endpoint, the method, static request headers
(whose values may carry ${secret:NAME} references resolved at invocation),
and an explicit, default-off opt-in to reach private or loopback networks
(the governed transport blocks them otherwise, mirroring the sandbox network
opt-in).
Fields§
§url: String§method: Option<String>§headers: Option<BTreeMap<String, String>>§allow_private_network: Option<bool>Trait Implementations§
Source§impl Clone for SkillHttpSource
impl Clone for SkillHttpSource
Source§fn clone(&self) -> SkillHttpSource
fn clone(&self) -> SkillHttpSource
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 SkillHttpSource
impl Debug for SkillHttpSource
Source§impl<'de> Deserialize<'de> for SkillHttpSource
impl<'de> Deserialize<'de> for SkillHttpSource
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 SkillHttpSource
Source§impl PartialEq for SkillHttpSource
impl PartialEq for SkillHttpSource
Source§fn eq(&self, other: &SkillHttpSource) -> bool
fn eq(&self, other: &SkillHttpSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SkillHttpSource
impl Serialize for SkillHttpSource
impl StructuralPartialEq for SkillHttpSource
Auto Trait Implementations§
impl Freeze for SkillHttpSource
impl RefUnwindSafe for SkillHttpSource
impl Send for SkillHttpSource
impl Sync for SkillHttpSource
impl Unpin for SkillHttpSource
impl UnsafeUnpin for SkillHttpSource
impl UnwindSafe for SkillHttpSource
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.