#[non_exhaustive]pub struct SyntheticsTestUptime {
pub from_ts: Option<i64>,
pub overall: Option<SyntheticsUptime>,
pub public_id: Option<String>,
pub to_ts: Option<i64>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Object containing the uptime for a Synthetic test ID.
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.from_ts: Option<i64>
Timestamp in seconds for the start of uptime.
overall: Option<SyntheticsUptime>
Object containing the uptime information.
public_id: Option<String>
A Synthetic test ID.
to_ts: Option<i64>
Timestamp in seconds for the end of uptime.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl SyntheticsTestUptime
impl SyntheticsTestUptime
pub fn new() -> SyntheticsTestUptime
pub fn from_ts(self, value: i64) -> Self
pub fn overall(self, value: SyntheticsUptime) -> Self
pub fn public_id(self, value: String) -> Self
pub fn to_ts(self, value: i64) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for SyntheticsTestUptime
impl Clone for SyntheticsTestUptime
Source§fn clone(&self) -> SyntheticsTestUptime
fn clone(&self) -> SyntheticsTestUptime
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 SyntheticsTestUptime
impl Debug for SyntheticsTestUptime
Source§impl Default for SyntheticsTestUptime
impl Default for SyntheticsTestUptime
Source§impl<'de> Deserialize<'de> for SyntheticsTestUptime
impl<'de> Deserialize<'de> for SyntheticsTestUptime
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 SyntheticsTestUptime
impl PartialEq for SyntheticsTestUptime
Source§impl Serialize for SyntheticsTestUptime
impl Serialize for SyntheticsTestUptime
impl StructuralPartialEq for SyntheticsTestUptime
Auto Trait Implementations§
impl Freeze for SyntheticsTestUptime
impl RefUnwindSafe for SyntheticsTestUptime
impl Send for SyntheticsTestUptime
impl Sync for SyntheticsTestUptime
impl Unpin for SyntheticsTestUptime
impl UnwindSafe for SyntheticsTestUptime
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