pub struct UpdateCorrespondent {
pub name: Option<String>,
pub match_pattern: Option<String>,
pub matching_algorithm: Option<MatchAlgorithm>,
pub is_insensitive: Option<bool>,
pub owner: Option<Option<UserId>>,
}Fields§
§name: Option<String>Name of the correspondent.
match_pattern: Option<String>Matching pattern for the correspondent.
matching_algorithm: Option<MatchAlgorithm>Matching algorithm for the correspondent.
is_insensitive: Option<bool>Whether the correspondent matching is case-insensitive.
owner: Option<Option<UserId>>The user who owns this correspondent, if any.
Trait Implementations§
Source§impl Clone for UpdateCorrespondent
impl Clone for UpdateCorrespondent
Source§fn clone(&self) -> UpdateCorrespondent
fn clone(&self) -> UpdateCorrespondent
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 Debug for UpdateCorrespondent
impl Debug for UpdateCorrespondent
Source§impl Default for UpdateCorrespondent
impl Default for UpdateCorrespondent
Source§fn default() -> UpdateCorrespondent
fn default() -> UpdateCorrespondent
Returns the “default value” for a type. Read more
Source§impl Serialize for UpdateCorrespondent
impl Serialize for UpdateCorrespondent
Source§impl UpdateDto for UpdateCorrespondent
impl UpdateDto for UpdateCorrespondent
Source§type Id = CorrespondentId
type Id = CorrespondentId
The ID type for this item.
Source§type BaseType = Correspondent
type BaseType = Correspondent
The base type for the DTO.
Auto Trait Implementations§
impl Freeze for UpdateCorrespondent
impl RefUnwindSafe for UpdateCorrespondent
impl Send for UpdateCorrespondent
impl Sync for UpdateCorrespondent
impl Unpin for UpdateCorrespondent
impl UnsafeUnpin for UpdateCorrespondent
impl UnwindSafe for UpdateCorrespondent
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