pub struct CheckSuccessOptions {
pub success_codes: &'static [u16],
}Available on crate feature
export-azure only.Expand description
Options for customizing the behavior of check_success.
Fieldsยง
ยงsuccess_codes: &'static [u16]A list of HTTP status codes that should be considered successful.
If this list is empty, any 2xx status code is considered successful.
Trait Implementationsยง
Sourceยงimpl Debug for CheckSuccessOptions
impl Debug for CheckSuccessOptions
Sourceยงimpl Default for CheckSuccessOptions
impl Default for CheckSuccessOptions
Sourceยงfn default() -> CheckSuccessOptions
fn default() -> CheckSuccessOptions
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for CheckSuccessOptions
impl RefUnwindSafe for CheckSuccessOptions
impl Send for CheckSuccessOptions
impl Sync for CheckSuccessOptions
impl Unpin for CheckSuccessOptions
impl UnsafeUnpin for CheckSuccessOptions
impl UnwindSafe for CheckSuccessOptions
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