#[non_exhaustive]pub struct GenerateMetricTokenRequest {
pub expiry_seconds: i64,
}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.expiry_seconds: i64Implementations§
Trait Implementations§
Source§impl Clone for GenerateMetricTokenRequest
impl Clone for GenerateMetricTokenRequest
Source§impl Debug for GenerateMetricTokenRequest
impl Debug for GenerateMetricTokenRequest
Source§impl Default for GenerateMetricTokenRequest
impl Default for GenerateMetricTokenRequest
Auto Trait Implementations§
impl Freeze for GenerateMetricTokenRequest
impl RefUnwindSafe for GenerateMetricTokenRequest
impl Send for GenerateMetricTokenRequest
impl Sync for GenerateMetricTokenRequest
impl Unpin for GenerateMetricTokenRequest
impl UnsafeUnpin for GenerateMetricTokenRequest
impl UnwindSafe for GenerateMetricTokenRequest
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