pub struct PollEndpointConfig {
pub url: String,
pub method: HttpMethod,
pub headers: HashMap<String, String>,
pub body: Option<Value>,
pub interval: Duration,
pub timeout: Duration,
pub condition: PollCondition,
}Expand description
Pollendpointconfig.
Fields§
§url: StringURL template. Supports {placeholder} interpolation from workflow data.
method: HttpMethodMethod.
headers: HashMap<String, String>Headers.
body: Option<Value>Body.
interval: DurationInterval.
timeout: DurationTimeout.
condition: PollConditionCondition.
Trait Implementations§
Source§impl Clone for PollEndpointConfig
impl Clone for PollEndpointConfig
Source§fn clone(&self) -> PollEndpointConfig
fn clone(&self) -> PollEndpointConfig
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 PollEndpointConfig
impl Debug for PollEndpointConfig
Source§impl Default for PollEndpointConfig
impl Default for PollEndpointConfig
Source§fn default() -> PollEndpointConfig
fn default() -> PollEndpointConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PollEndpointConfig
impl<'de> Deserialize<'de> for PollEndpointConfig
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 PollEndpointConfig
impl PartialEq for PollEndpointConfig
Source§fn eq(&self, other: &PollEndpointConfig) -> bool
fn eq(&self, other: &PollEndpointConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PollEndpointConfig
impl Serialize for PollEndpointConfig
impl StructuralPartialEq for PollEndpointConfig
Auto Trait Implementations§
impl Freeze for PollEndpointConfig
impl RefUnwindSafe for PollEndpointConfig
impl Send for PollEndpointConfig
impl Sync for PollEndpointConfig
impl Unpin for PollEndpointConfig
impl UnsafeUnpin for PollEndpointConfig
impl UnwindSafe for PollEndpointConfig
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