pub struct FieldModificationAttributes {
pub lei: String,
pub record_type: String,
pub modification_type: String,
pub field: String,
pub date: DateTime<Utc>,
pub value_old: Option<String>,
pub value_new: String,
pub context: Option<FieldModificationContext>,
}Expand description
Attributes of a field modification as returned by the GLEIF API.
Fields§
§lei: StringThe LEI associated with the modification.
record_type: StringThe type of record being modified.
modification_type: StringThe type of modification performed.
field: StringThe field that was modified.
date: DateTime<Utc>The date and time of the modification.
value_old: Option<String>The old value of the field, if available.
value_new: StringThe new value of the field.
context: Option<FieldModificationContext>Additional context for the modification, if available.
Trait Implementations§
Source§impl Clone for FieldModificationAttributes
impl Clone for FieldModificationAttributes
Source§fn clone(&self) -> FieldModificationAttributes
fn clone(&self) -> FieldModificationAttributes
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 FieldModificationAttributes
impl Debug for FieldModificationAttributes
Source§impl<'de> Deserialize<'de> for FieldModificationAttributes
impl<'de> Deserialize<'de> for FieldModificationAttributes
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 FieldModificationAttributes
impl PartialEq for FieldModificationAttributes
Source§fn eq(&self, other: &FieldModificationAttributes) -> bool
fn eq(&self, other: &FieldModificationAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FieldModificationAttributes
Auto Trait Implementations§
impl Freeze for FieldModificationAttributes
impl RefUnwindSafe for FieldModificationAttributes
impl Send for FieldModificationAttributes
impl Sync for FieldModificationAttributes
impl Unpin for FieldModificationAttributes
impl UnsafeUnpin for FieldModificationAttributes
impl UnwindSafe for FieldModificationAttributes
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