#[non_exhaustive]pub struct UsageSyntheticsAPIHour {
pub check_calls_count: Option<Option<i64>>,
pub hour: Option<DateTime<Utc>>,
pub org_name: Option<String>,
pub public_id: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Number of Synthetics API tests run for each hour for a given organization.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.check_calls_count: Option<Option<i64>>
Contains the number of Synthetics API tests run.
hour: Option<DateTime<Utc>>
The hour for the usage.
org_name: Option<String>
The organization name.
public_id: Option<String>
The organization public ID.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl UsageSyntheticsAPIHour
impl UsageSyntheticsAPIHour
pub fn new() -> UsageSyntheticsAPIHour
pub fn check_calls_count(self, value: Option<i64>) -> Self
pub fn hour(self, value: DateTime<Utc>) -> Self
pub fn org_name(self, value: String) -> Self
pub fn public_id(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for UsageSyntheticsAPIHour
impl Clone for UsageSyntheticsAPIHour
Source§fn clone(&self) -> UsageSyntheticsAPIHour
fn clone(&self) -> UsageSyntheticsAPIHour
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 UsageSyntheticsAPIHour
impl Debug for UsageSyntheticsAPIHour
Source§impl Default for UsageSyntheticsAPIHour
impl Default for UsageSyntheticsAPIHour
Source§impl<'de> Deserialize<'de> for UsageSyntheticsAPIHour
impl<'de> Deserialize<'de> for UsageSyntheticsAPIHour
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 UsageSyntheticsAPIHour
impl PartialEq for UsageSyntheticsAPIHour
Source§impl Serialize for UsageSyntheticsAPIHour
impl Serialize for UsageSyntheticsAPIHour
impl StructuralPartialEq for UsageSyntheticsAPIHour
Auto Trait Implementations§
impl Freeze for UsageSyntheticsAPIHour
impl RefUnwindSafe for UsageSyntheticsAPIHour
impl Send for UsageSyntheticsAPIHour
impl Sync for UsageSyntheticsAPIHour
impl Unpin for UsageSyntheticsAPIHour
impl UnwindSafe for UsageSyntheticsAPIHour
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