pub struct UpdateServiceRequest {
pub ping_interval_seconds: Option<u32>,
pub cert_lifetime_hours: Option<u32>,
}Expand description
Request to update a service’s configurable settings.
Fields§
§ping_interval_seconds: Option<u32>Custom ping interval in seconds.
Omit to keep current value. Set to 0 to clear the override and
revert to the service-type default. Set to a positive value to
override the default.
cert_lifetime_hours: Option<u32>Per-service certificate lifetime in hours.
Omit to keep current value. Set to 0 to clear the override and revert
to the global default. Set to a positive value (1–17520) to override.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateServiceRequest
impl<'de> Deserialize<'de> for UpdateServiceRequest
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 Serialize for UpdateServiceRequest
impl Serialize for UpdateServiceRequest
Source§impl Validate for UpdateServiceRequest
impl Validate for UpdateServiceRequest
Auto Trait Implementations§
impl Freeze for UpdateServiceRequest
impl RefUnwindSafe for UpdateServiceRequest
impl Send for UpdateServiceRequest
impl Sync for UpdateServiceRequest
impl Unpin for UpdateServiceRequest
impl UnsafeUnpin for UpdateServiceRequest
impl UnwindSafe for UpdateServiceRequest
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