pub struct ClusterNotificationsGetGotifyEndpointsResponseDataInner {
pub comment: Option<String>,
pub disable: Option<PveBoolean>,
pub name: String,
pub origin: PveOriginEnum,
pub server: String,
}Fields§
§comment: Option<String>Comment
disable: Option<PveBoolean>Disable this target
name: StringThe name of the endpoint.
origin: PveOriginEnumShow if this entry was created by a user or was built-in
server: StringServer URL
Implementations§
Source§impl ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl ClusterNotificationsGetGotifyEndpointsResponseDataInner
pub fn new( name: String, origin: PveOriginEnum, server: String, ) -> ClusterNotificationsGetGotifyEndpointsResponseDataInner
Trait Implementations§
Source§impl Clone for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl Clone for ClusterNotificationsGetGotifyEndpointsResponseDataInner
Source§fn clone(&self) -> ClusterNotificationsGetGotifyEndpointsResponseDataInner
fn clone(&self) -> ClusterNotificationsGetGotifyEndpointsResponseDataInner
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 ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl Default for ClusterNotificationsGetGotifyEndpointsResponseDataInner
Source§fn default() -> ClusterNotificationsGetGotifyEndpointsResponseDataInner
fn default() -> ClusterNotificationsGetGotifyEndpointsResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl<'de> Deserialize<'de> for ClusterNotificationsGetGotifyEndpointsResponseDataInner
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 ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl PartialEq for ClusterNotificationsGetGotifyEndpointsResponseDataInner
Source§fn eq(
&self,
other: &ClusterNotificationsGetGotifyEndpointsResponseDataInner,
) -> bool
fn eq( &self, other: &ClusterNotificationsGetGotifyEndpointsResponseDataInner, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsGetGotifyEndpointsResponseDataInner
Auto Trait Implementations§
impl Freeze for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl RefUnwindSafe for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl Send for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl Sync for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl Unpin for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl UnsafeUnpin for ClusterNotificationsGetGotifyEndpointsResponseDataInner
impl UnwindSafe for ClusterNotificationsGetGotifyEndpointsResponseDataInner
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