pub struct ConfigNotificationsCreateGotifyRequest {
pub comment: Option<String>,
pub disable: Option<bool>,
pub filter: Option<String>,
pub name: String,
pub origin: Option<PbsOriginEnum>,
pub server: String,
pub token: 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.
token: StringAuthentication token
Implementations§
Trait Implementations§
Source§impl Clone for ConfigNotificationsCreateGotifyRequest
impl Clone for ConfigNotificationsCreateGotifyRequest
Source§fn clone(&self) -> ConfigNotificationsCreateGotifyRequest
fn clone(&self) -> ConfigNotificationsCreateGotifyRequest
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 ConfigNotificationsCreateGotifyRequest
impl Default for ConfigNotificationsCreateGotifyRequest
Source§fn default() -> ConfigNotificationsCreateGotifyRequest
fn default() -> ConfigNotificationsCreateGotifyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsCreateGotifyRequest
impl<'de> Deserialize<'de> for ConfigNotificationsCreateGotifyRequest
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 ConfigNotificationsCreateGotifyRequest
impl PartialEq for ConfigNotificationsCreateGotifyRequest
Source§fn eq(&self, other: &ConfigNotificationsCreateGotifyRequest) -> bool
fn eq(&self, other: &ConfigNotificationsCreateGotifyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsCreateGotifyRequest
Auto Trait Implementations§
impl Freeze for ConfigNotificationsCreateGotifyRequest
impl RefUnwindSafe for ConfigNotificationsCreateGotifyRequest
impl Send for ConfigNotificationsCreateGotifyRequest
impl Sync for ConfigNotificationsCreateGotifyRequest
impl Unpin for ConfigNotificationsCreateGotifyRequest
impl UnsafeUnpin for ConfigNotificationsCreateGotifyRequest
impl UnwindSafe for ConfigNotificationsCreateGotifyRequest
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