pub struct ExtrasNotificationGroupsCreateRequest {
pub name: String,
pub description: Option<String>,
pub groups: Option<Vec<i32>>,
pub users: Option<Vec<i32>>,
}Fields§
§name: String§description: Option<String>§groups: Option<Vec<i32>>§users: Option<Vec<i32>>Implementations§
Source§impl ExtrasNotificationGroupsCreateRequest
impl ExtrasNotificationGroupsCreateRequest
pub fn new(name: String) -> ExtrasNotificationGroupsCreateRequest
Trait Implementations§
Source§impl Clone for ExtrasNotificationGroupsCreateRequest
impl Clone for ExtrasNotificationGroupsCreateRequest
Source§fn clone(&self) -> ExtrasNotificationGroupsCreateRequest
fn clone(&self) -> ExtrasNotificationGroupsCreateRequest
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 ExtrasNotificationGroupsCreateRequest
impl Default for ExtrasNotificationGroupsCreateRequest
Source§fn default() -> ExtrasNotificationGroupsCreateRequest
fn default() -> ExtrasNotificationGroupsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtrasNotificationGroupsCreateRequest
impl<'de> Deserialize<'de> for ExtrasNotificationGroupsCreateRequest
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 ExtrasNotificationGroupsCreateRequest
impl PartialEq for ExtrasNotificationGroupsCreateRequest
Source§fn eq(&self, other: &ExtrasNotificationGroupsCreateRequest) -> bool
fn eq(&self, other: &ExtrasNotificationGroupsCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtrasNotificationGroupsCreateRequest
Auto Trait Implementations§
impl Freeze for ExtrasNotificationGroupsCreateRequest
impl RefUnwindSafe for ExtrasNotificationGroupsCreateRequest
impl Send for ExtrasNotificationGroupsCreateRequest
impl Sync for ExtrasNotificationGroupsCreateRequest
impl Unpin for ExtrasNotificationGroupsCreateRequest
impl UnsafeUnpin for ExtrasNotificationGroupsCreateRequest
impl UnwindSafe for ExtrasNotificationGroupsCreateRequest
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