pub struct ClusterNotificationsCreateGotifyEndpointRequest {
pub comment: Option<String>,
pub disable: Option<PveBoolean>,
pub name: String,
pub server: String,
pub token: String,
}Fields§
§comment: Option<String>Comment
disable: Option<PveBoolean>Disable this target
name: StringThe name of the endpoint.
server: StringServer URL
token: StringSecret token
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsCreateGotifyEndpointRequest
impl Clone for ClusterNotificationsCreateGotifyEndpointRequest
Source§fn clone(&self) -> ClusterNotificationsCreateGotifyEndpointRequest
fn clone(&self) -> ClusterNotificationsCreateGotifyEndpointRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClusterNotificationsCreateGotifyEndpointRequest
impl Default for ClusterNotificationsCreateGotifyEndpointRequest
Source§fn default() -> ClusterNotificationsCreateGotifyEndpointRequest
fn default() -> ClusterNotificationsCreateGotifyEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsCreateGotifyEndpointRequest
impl<'de> Deserialize<'de> for ClusterNotificationsCreateGotifyEndpointRequest
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 ClusterNotificationsCreateGotifyEndpointRequest
impl PartialEq for ClusterNotificationsCreateGotifyEndpointRequest
Source§fn eq(&self, other: &ClusterNotificationsCreateGotifyEndpointRequest) -> bool
fn eq(&self, other: &ClusterNotificationsCreateGotifyEndpointRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsCreateGotifyEndpointRequest
Auto Trait Implementations§
impl Freeze for ClusterNotificationsCreateGotifyEndpointRequest
impl RefUnwindSafe for ClusterNotificationsCreateGotifyEndpointRequest
impl Send for ClusterNotificationsCreateGotifyEndpointRequest
impl Sync for ClusterNotificationsCreateGotifyEndpointRequest
impl Unpin for ClusterNotificationsCreateGotifyEndpointRequest
impl UnsafeUnpin for ClusterNotificationsCreateGotifyEndpointRequest
impl UnwindSafe for ClusterNotificationsCreateGotifyEndpointRequest
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