pub struct ConfigNotificationsGetTargetsResponseDataInner {
pub comment: Option<String>,
pub disable: Option<bool>,
pub name: String,
pub origin: PbsOriginEnum,
pub type: PbsConfigNotificationsTypeEnum,
}Fields§
§comment: Option<String>Comment
disable: Option<bool>Target is disabled
name: StringName of the endpoint
origin: PbsOriginEnumThe origin of a notification configuration entry.
type: PbsConfigNotificationsTypeEnumType of the endpoint.
Implementations§
Source§impl ConfigNotificationsGetTargetsResponseDataInner
impl ConfigNotificationsGetTargetsResponseDataInner
pub fn new( name: String, origin: PbsOriginEnum, type: PbsConfigNotificationsTypeEnum, ) -> ConfigNotificationsGetTargetsResponseDataInner
Trait Implementations§
Source§impl Clone for ConfigNotificationsGetTargetsResponseDataInner
impl Clone for ConfigNotificationsGetTargetsResponseDataInner
Source§fn clone(&self) -> ConfigNotificationsGetTargetsResponseDataInner
fn clone(&self) -> ConfigNotificationsGetTargetsResponseDataInner
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 ConfigNotificationsGetTargetsResponseDataInner
impl Default for ConfigNotificationsGetTargetsResponseDataInner
Source§fn default() -> ConfigNotificationsGetTargetsResponseDataInner
fn default() -> ConfigNotificationsGetTargetsResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsGetTargetsResponseDataInner
impl<'de> Deserialize<'de> for ConfigNotificationsGetTargetsResponseDataInner
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 ConfigNotificationsGetTargetsResponseDataInner
impl PartialEq for ConfigNotificationsGetTargetsResponseDataInner
Source§fn eq(&self, other: &ConfigNotificationsGetTargetsResponseDataInner) -> bool
fn eq(&self, other: &ConfigNotificationsGetTargetsResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsGetTargetsResponseDataInner
Auto Trait Implementations§
impl Freeze for ConfigNotificationsGetTargetsResponseDataInner
impl RefUnwindSafe for ConfigNotificationsGetTargetsResponseDataInner
impl Send for ConfigNotificationsGetTargetsResponseDataInner
impl Sync for ConfigNotificationsGetTargetsResponseDataInner
impl Unpin for ConfigNotificationsGetTargetsResponseDataInner
impl UnsafeUnpin for ConfigNotificationsGetTargetsResponseDataInner
impl UnwindSafe for ConfigNotificationsGetTargetsResponseDataInner
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