pub struct UpstreamErrorWire {
pub status: u16,
pub body_base64: Option<String>,
pub category: UpstreamErrorCategory,
}Fields§
§status: u16§body_base64: Option<String>§category: UpstreamErrorCategoryImplementations§
Source§impl UpstreamErrorWire
impl UpstreamErrorWire
pub fn dry_run_sample() -> Self
Trait Implementations§
Source§impl Clone for UpstreamErrorWire
impl Clone for UpstreamErrorWire
Source§fn clone(&self) -> UpstreamErrorWire
fn clone(&self) -> UpstreamErrorWire
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 UpstreamErrorWire
impl Debug for UpstreamErrorWire
Source§impl<'de> Deserialize<'de> for UpstreamErrorWire
impl<'de> Deserialize<'de> for UpstreamErrorWire
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 UpstreamErrorWire
Source§impl PartialEq for UpstreamErrorWire
impl PartialEq for UpstreamErrorWire
Source§fn eq(&self, other: &UpstreamErrorWire) -> bool
fn eq(&self, other: &UpstreamErrorWire) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpstreamErrorWire
impl Serialize for UpstreamErrorWire
impl StructuralPartialEq for UpstreamErrorWire
Auto Trait Implementations§
impl Freeze for UpstreamErrorWire
impl RefUnwindSafe for UpstreamErrorWire
impl Send for UpstreamErrorWire
impl Sync for UpstreamErrorWire
impl Unpin for UpstreamErrorWire
impl UnsafeUnpin for UpstreamErrorWire
impl UnwindSafe for UpstreamErrorWire
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