pub struct ConfigNotificationsGetGotifyResponseDataInner {
pub comment: Option<String>,
pub disable: Option<bool>,
pub filter: Option<String>,
pub name: String,
pub origin: Option<PbsOriginEnum>,
pub server: String,
}Fields§
§comment: Option<String>Comment.
disable: Option<bool>Disable this target.
filter: Option<String>Deprecated.
name: StringName schema for targets and matchers
origin: Option<PbsOriginEnum>The origin of a notification configuration entry.
server: StringGotify Server URL.
Implementations§
Source§impl ConfigNotificationsGetGotifyResponseDataInner
impl ConfigNotificationsGetGotifyResponseDataInner
pub fn new( name: String, server: String, ) -> ConfigNotificationsGetGotifyResponseDataInner
Trait Implementations§
Source§impl Clone for ConfigNotificationsGetGotifyResponseDataInner
impl Clone for ConfigNotificationsGetGotifyResponseDataInner
Source§fn clone(&self) -> ConfigNotificationsGetGotifyResponseDataInner
fn clone(&self) -> ConfigNotificationsGetGotifyResponseDataInner
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 ConfigNotificationsGetGotifyResponseDataInner
impl Default for ConfigNotificationsGetGotifyResponseDataInner
Source§fn default() -> ConfigNotificationsGetGotifyResponseDataInner
fn default() -> ConfigNotificationsGetGotifyResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsGetGotifyResponseDataInner
impl<'de> Deserialize<'de> for ConfigNotificationsGetGotifyResponseDataInner
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 ConfigNotificationsGetGotifyResponseDataInner
impl PartialEq for ConfigNotificationsGetGotifyResponseDataInner
Source§fn eq(&self, other: &ConfigNotificationsGetGotifyResponseDataInner) -> bool
fn eq(&self, other: &ConfigNotificationsGetGotifyResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsGetGotifyResponseDataInner
Auto Trait Implementations§
impl Freeze for ConfigNotificationsGetGotifyResponseDataInner
impl RefUnwindSafe for ConfigNotificationsGetGotifyResponseDataInner
impl Send for ConfigNotificationsGetGotifyResponseDataInner
impl Sync for ConfigNotificationsGetGotifyResponseDataInner
impl Unpin for ConfigNotificationsGetGotifyResponseDataInner
impl UnsafeUnpin for ConfigNotificationsGetGotifyResponseDataInner
impl UnwindSafe for ConfigNotificationsGetGotifyResponseDataInner
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