pub struct CreateCorrespondent {
pub name: String,
pub match_pattern: String,
pub matching_algorithm: MatchAlgorithm,
pub is_insensitive: bool,
pub owner: Option<UserId>,
}Fields§
§name: StringName of the correspondent.
match_pattern: StringMatching pattern for the correspondent.
matching_algorithm: MatchAlgorithmMatching algorithm for the correspondent.
is_insensitive: boolWhether the correspondent matching is case-insensitive.
owner: Option<UserId>The user who owns this correspondent, if any.
Trait Implementations§
Source§impl Clone for CreateCorrespondent
impl Clone for CreateCorrespondent
Source§fn clone(&self) -> CreateCorrespondent
fn clone(&self) -> CreateCorrespondent
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 CreateDto for CreateCorrespondent
impl CreateDto for CreateCorrespondent
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.
Source§impl Debug for CreateCorrespondent
impl Debug for CreateCorrespondent
Source§impl Default for CreateCorrespondent
impl Default for CreateCorrespondent
Source§fn default() -> CreateCorrespondent
fn default() -> CreateCorrespondent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateCorrespondent
impl RefUnwindSafe for CreateCorrespondent
impl Send for CreateCorrespondent
impl Sync for CreateCorrespondent
impl Unpin for CreateCorrespondent
impl UnsafeUnpin for CreateCorrespondent
impl UnwindSafe for CreateCorrespondent
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