pub struct ValuesStatusCodes {
pub url: Option<String>,
pub rate_per_status: Option<f32>,
pub rate_per_url: Option<f32>,
}
Fields§
§url: Option<String>
The HTTP request path.
rate_per_status: Option<f32>
The URL accounts for this percentage of the status code in this dimension.
rate_per_url: Option<f32>
The rate at which the status code in this dimension occurs for this URL.
Implementations§
Source§impl ValuesStatusCodes
impl ValuesStatusCodes
pub fn new() -> ValuesStatusCodes
Trait Implementations§
Source§impl Clone for ValuesStatusCodes
impl Clone for ValuesStatusCodes
Source§fn clone(&self) -> ValuesStatusCodes
fn clone(&self) -> ValuesStatusCodes
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 ValuesStatusCodes
impl Debug for ValuesStatusCodes
Source§impl Default for ValuesStatusCodes
impl Default for ValuesStatusCodes
Source§fn default() -> ValuesStatusCodes
fn default() -> ValuesStatusCodes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValuesStatusCodes
impl<'de> Deserialize<'de> for ValuesStatusCodes
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 ValuesStatusCodes
impl PartialEq for ValuesStatusCodes
Source§impl Serialize for ValuesStatusCodes
impl Serialize for ValuesStatusCodes
impl StructuralPartialEq for ValuesStatusCodes
Auto Trait Implementations§
impl Freeze for ValuesStatusCodes
impl RefUnwindSafe for ValuesStatusCodes
impl Send for ValuesStatusCodes
impl Sync for ValuesStatusCodes
impl Unpin for ValuesStatusCodes
impl UnwindSafe for ValuesStatusCodes
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