pub struct SyncLog {Show 13 fields
pub date: DateTime<Utc>,
pub domain_id: Option<String>,
pub domain_type: Option<String>,
pub execution_id: String,
pub id: i64,
pub is_dry_run: bool,
pub job: SyncLogJob,
pub level: String,
pub message: String,
pub source_entity_id: Option<String>,
pub system: Option<String>,
pub type: String,
pub extra: Map<String, Value>,
}Expand description
Log entry during a sync execution.
Fields§
§date: DateTime<Utc>A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’
domain_id: Option<String>domainId of the affected record.
domain_type: Option<String>domainType of the affected record.
execution_id: StringBackground execution identifier.
id: i64§is_dry_run: bool§job: SyncLogJob§level: StringPSR log severity.
Allowed values: alert, critical, debug, emergency, error, info, notice, warning.
message: StringRendered, translated log message including formatted changes. Original messageKey and args are not returned.
source_entity_id: Option<String>sourceEntityId of the affected record.
system: Option<String>Allowed values: both, es, master.
type: StringOperation described by a sync log entry.
Allowed values: create, delete, execution, link, update.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SyncLog
impl<'de> Deserialize<'de> for SyncLog
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
impl StructuralPartialEq for SyncLog
Auto Trait Implementations§
impl Freeze for SyncLog
impl RefUnwindSafe for SyncLog
impl Send for SyncLog
impl Sync for SyncLog
impl Unpin for SyncLog
impl UnsafeUnpin for SyncLog
impl UnwindSafe for SyncLog
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