pub struct HttpDetectorUpdateParams {Show 21 fields
pub status: Option<i16>,
pub name: Option<String>,
pub group_id: Option<u64>,
pub url: Option<String>,
pub method: Option<String>,
pub alpn_protocols: Option<Vec<String>>,
pub resolves: Option<Vec<String>>,
pub headers: Option<HashMap<String, String>>,
pub ip_version: Option<i32>,
pub skip_verify: Option<bool>,
pub alarm_url: Option<String>,
pub body: Option<Vec<u8>>,
pub interval: Option<u16>,
pub script: Option<String>,
pub random_querystring: Option<bool>,
pub alarm_on_change: Option<bool>,
pub retries: Option<u8>,
pub failure_threshold: Option<u8>,
pub regions: Option<Vec<String>>,
pub verbose: Option<bool>,
pub remark: Option<String>,
}Fields§
§status: Option<i16>§name: Option<String>§group_id: Option<u64>§url: Option<String>§method: Option<String>§alpn_protocols: Option<Vec<String>>§resolves: Option<Vec<String>>§headers: Option<HashMap<String, String>>§ip_version: Option<i32>§skip_verify: Option<bool>§alarm_url: Option<String>§body: Option<Vec<u8>>§interval: Option<u16>§script: Option<String>§random_querystring: Option<bool>§alarm_on_change: Option<bool>§retries: Option<u8>§failure_threshold: Option<u8>§regions: Option<Vec<String>>§verbose: Option<bool>§remark: Option<String>Trait Implementations§
Source§impl Clone for HttpDetectorUpdateParams
impl Clone for HttpDetectorUpdateParams
Source§fn clone(&self) -> HttpDetectorUpdateParams
fn clone(&self) -> HttpDetectorUpdateParams
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 HttpDetectorUpdateParams
impl Debug for HttpDetectorUpdateParams
Source§impl Default for HttpDetectorUpdateParams
impl Default for HttpDetectorUpdateParams
Source§fn default() -> HttpDetectorUpdateParams
fn default() -> HttpDetectorUpdateParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpDetectorUpdateParams
impl<'de> Deserialize<'de> for HttpDetectorUpdateParams
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 HttpDetectorUpdateParams
impl RefUnwindSafe for HttpDetectorUpdateParams
impl Send for HttpDetectorUpdateParams
impl Sync for HttpDetectorUpdateParams
impl Unpin for HttpDetectorUpdateParams
impl UnsafeUnpin for HttpDetectorUpdateParams
impl UnwindSafe for HttpDetectorUpdateParams
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more