pub enum PropertyEvent {
Show 15 variants
AssetAnchored {
asset_id: AssetId,
asset_type: AssetType,
jurisdiction: String,
timestamp: Timestamp,
},
AssetUpdated {
asset_id: AssetId,
new_status: AssetStatus,
timestamp: Timestamp,
},
AssetTransferred {
asset_id: AssetId,
from_ref_hash: [u8; 32],
to_ref_hash: [u8; 32],
timestamp: Timestamp,
},
TitleEventRecorded {
event_id: TitleEventId,
asset_id: AssetId,
event_type: TitleEventType,
timestamp: Timestamp,
},
TitleEventSuperseded {
old_event_id: TitleEventId,
new_event_id: TitleEventId,
timestamp: Timestamp,
},
EncumbranceRecorded {
encumbrance_id: EncumbranceId,
asset_id: AssetId,
encumbrance_type: EncumbranceType,
priority: PriorityPosition,
timestamp: Timestamp,
},
EncumbranceReleased {
encumbrance_id: EncumbranceId,
asset_id: AssetId,
timestamp: Timestamp,
},
EncumbranceForeclosed {
encumbrance_id: EncumbranceId,
asset_id: AssetId,
timestamp: Timestamp,
},
CoverageIssued {
coverage_id: CoverageId,
asset_id: AssetId,
coverage_type: CoverageType,
effective_from: Timestamp,
expiry: Timestamp,
timestamp: Timestamp,
},
CoverageStatusUpdated {
coverage_id: CoverageId,
new_status: CoverageStatus,
timestamp: Timestamp,
},
ClaimFiled {
claim_id: ClaimId,
coverage_id: CoverageId,
claim_type: ClaimType,
date_of_loss: Timestamp,
timestamp: Timestamp,
},
ClaimStatusUpdated {
claim_id: ClaimId,
new_status: ClaimStatus,
timestamp: Timestamp,
},
ClaimPaid {
claim_id: ClaimId,
amount_commitment: [u8; 32],
timestamp: Timestamp,
},
PropertyProofSubmitted {
proof_id: ProofId,
profile: PropertyProofProfile,
timestamp: Timestamp,
},
PropertyProofVerified {
proof_id: ProofId,
valid: bool,
timestamp: Timestamp,
},
}Expand description
SRC-86X Events
Variants§
AssetAnchored
AssetUpdated
AssetTransferred
TitleEventRecorded
TitleEventSuperseded
EncumbranceRecorded
EncumbranceReleased
EncumbranceForeclosed
CoverageIssued
CoverageStatusUpdated
ClaimFiled
Fields
§
coverage_id: CoverageIdClaimStatusUpdated
ClaimPaid
PropertyProofSubmitted
PropertyProofVerified
Trait Implementations§
Source§impl Clone for PropertyEvent
impl Clone for PropertyEvent
Source§fn clone(&self) -> PropertyEvent
fn clone(&self) -> PropertyEvent
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 PropertyEvent
impl Debug for PropertyEvent
Source§impl<'de> Deserialize<'de> for PropertyEvent
impl<'de> Deserialize<'de> for PropertyEvent
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 PropertyEvent
impl PartialEq for PropertyEvent
Source§fn eq(&self, other: &PropertyEvent) -> bool
fn eq(&self, other: &PropertyEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PropertyEvent
impl Serialize for PropertyEvent
impl Eq for PropertyEvent
impl StructuralPartialEq for PropertyEvent
Auto Trait Implementations§
impl Freeze for PropertyEvent
impl RefUnwindSafe for PropertyEvent
impl Send for PropertyEvent
impl Sync for PropertyEvent
impl Unpin for PropertyEvent
impl UnsafeUnpin for PropertyEvent
impl UnwindSafe for PropertyEvent
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