Struct fastly_api::models::batch_errors::BatchErrors
source · pub struct BatchErrors {
pub key: Option<String>,
pub index: Option<i32>,
pub code: Option<String>,
pub reason: Option<String>,
}
Fields§
§key: Option<String>
The key that the error corresponds to. This field will be empty if the object or one of its fields was unable to be parsed.
index: Option<i32>
The line number of the payload on which the error occurred (starting from 0 for the first line).
code: Option<String>
The HTTP response code for the request, or a 400 if the request was not able to be completed.
reason: Option<String>
A descriptor of this particular item’s error.
Implementations§
source§impl BatchErrors
impl BatchErrors
pub fn new() -> BatchErrors
Trait Implementations§
source§impl Clone for BatchErrors
impl Clone for BatchErrors
source§fn clone(&self) -> BatchErrors
fn clone(&self) -> BatchErrors
Returns a copy 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 BatchErrors
impl Debug for BatchErrors
source§impl Default for BatchErrors
impl Default for BatchErrors
source§fn default() -> BatchErrors
fn default() -> BatchErrors
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BatchErrors
impl<'de> Deserialize<'de> for BatchErrors
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<BatchErrors> for BatchErrors
impl PartialEq<BatchErrors> for BatchErrors
source§fn eq(&self, other: &BatchErrors) -> bool
fn eq(&self, other: &BatchErrors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BatchErrors
impl Serialize for BatchErrors
impl StructuralPartialEq for BatchErrors
Auto Trait Implementations§
impl RefUnwindSafe for BatchErrors
impl Send for BatchErrors
impl Sync for BatchErrors
impl Unpin for BatchErrors
impl UnwindSafe for BatchErrors
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