pub struct ClusterNotificationsGetGotifyEndpointResponseData {
pub comment: Option<String>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub name: String,
pub server: String,
}Fields§
§comment: Option<String>Comment
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
disable: Option<PveBoolean>Disable this target
name: StringThe name of the endpoint.
server: StringServer URL
Implementations§
Source§impl ClusterNotificationsGetGotifyEndpointResponseData
impl ClusterNotificationsGetGotifyEndpointResponseData
pub fn new( name: String, server: String, ) -> ClusterNotificationsGetGotifyEndpointResponseData
Trait Implementations§
Source§impl Clone for ClusterNotificationsGetGotifyEndpointResponseData
impl Clone for ClusterNotificationsGetGotifyEndpointResponseData
Source§fn clone(&self) -> ClusterNotificationsGetGotifyEndpointResponseData
fn clone(&self) -> ClusterNotificationsGetGotifyEndpointResponseData
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 ClusterNotificationsGetGotifyEndpointResponseData
impl Default for ClusterNotificationsGetGotifyEndpointResponseData
Source§fn default() -> ClusterNotificationsGetGotifyEndpointResponseData
fn default() -> ClusterNotificationsGetGotifyEndpointResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsGetGotifyEndpointResponseData
impl<'de> Deserialize<'de> for ClusterNotificationsGetGotifyEndpointResponseData
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 ClusterNotificationsGetGotifyEndpointResponseData
impl PartialEq for ClusterNotificationsGetGotifyEndpointResponseData
Source§fn eq(&self, other: &ClusterNotificationsGetGotifyEndpointResponseData) -> bool
fn eq(&self, other: &ClusterNotificationsGetGotifyEndpointResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsGetGotifyEndpointResponseData
Auto Trait Implementations§
impl Freeze for ClusterNotificationsGetGotifyEndpointResponseData
impl RefUnwindSafe for ClusterNotificationsGetGotifyEndpointResponseData
impl Send for ClusterNotificationsGetGotifyEndpointResponseData
impl Sync for ClusterNotificationsGetGotifyEndpointResponseData
impl Unpin for ClusterNotificationsGetGotifyEndpointResponseData
impl UnsafeUnpin for ClusterNotificationsGetGotifyEndpointResponseData
impl UnwindSafe for ClusterNotificationsGetGotifyEndpointResponseData
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