#[non_exhaustive]pub struct EntityMappingLogEntry {
pub rule_id: String,
pub rule_revision_id: String,
pub mapping_comment: String,
/* private fields */
}Expand description
A single record of a rule which was used for a mapping.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rule_id: StringWhich rule caused this log entry.
rule_revision_id: StringRule revision ID.
mapping_comment: StringComment.
Implementations§
Source§impl EntityMappingLogEntry
impl EntityMappingLogEntry
pub fn new() -> Self
Sourcepub fn set_rule_id<T: Into<String>>(self, v: T) -> Self
pub fn set_rule_id<T: Into<String>>(self, v: T) -> Self
Sets the value of rule_id.
Sourcepub fn set_rule_revision_id<T: Into<String>>(self, v: T) -> Self
pub fn set_rule_revision_id<T: Into<String>>(self, v: T) -> Self
Sets the value of rule_revision_id.
Sourcepub fn set_mapping_comment<T: Into<String>>(self, v: T) -> Self
pub fn set_mapping_comment<T: Into<String>>(self, v: T) -> Self
Sets the value of mapping_comment.
Trait Implementations§
Source§impl Clone for EntityMappingLogEntry
impl Clone for EntityMappingLogEntry
Source§fn clone(&self) -> EntityMappingLogEntry
fn clone(&self) -> EntityMappingLogEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityMappingLogEntry
impl Debug for EntityMappingLogEntry
Source§impl Default for EntityMappingLogEntry
impl Default for EntityMappingLogEntry
Source§fn default() -> EntityMappingLogEntry
fn default() -> EntityMappingLogEntry
Returns the “default value” for a type. Read more
Source§impl Message for EntityMappingLogEntry
impl Message for EntityMappingLogEntry
Source§impl PartialEq for EntityMappingLogEntry
impl PartialEq for EntityMappingLogEntry
impl StructuralPartialEq for EntityMappingLogEntry
Auto Trait Implementations§
impl Freeze for EntityMappingLogEntry
impl RefUnwindSafe for EntityMappingLogEntry
impl Send for EntityMappingLogEntry
impl Sync for EntityMappingLogEntry
impl Unpin for EntityMappingLogEntry
impl UnwindSafe for EntityMappingLogEntry
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