Skip to main content

PropertyEvent

Enum PropertyEvent 

Source
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

Fields

§asset_id: AssetId
§asset_type: AssetType
§jurisdiction: String
§timestamp: Timestamp
§

AssetUpdated

Fields

§asset_id: AssetId
§new_status: AssetStatus
§timestamp: Timestamp
§

AssetTransferred

Fields

§asset_id: AssetId
§from_ref_hash: [u8; 32]
§to_ref_hash: [u8; 32]
§timestamp: Timestamp
§

TitleEventRecorded

Fields

§event_id: TitleEventId
§asset_id: AssetId
§event_type: TitleEventType
§timestamp: Timestamp
§

TitleEventSuperseded

Fields

§old_event_id: TitleEventId
§new_event_id: TitleEventId
§timestamp: Timestamp
§

EncumbranceRecorded

Fields

§encumbrance_id: EncumbranceId
§asset_id: AssetId
§encumbrance_type: EncumbranceType
§timestamp: Timestamp
§

EncumbranceReleased

Fields

§encumbrance_id: EncumbranceId
§asset_id: AssetId
§timestamp: Timestamp
§

EncumbranceForeclosed

Fields

§encumbrance_id: EncumbranceId
§asset_id: AssetId
§timestamp: Timestamp
§

CoverageIssued

Fields

§coverage_id: CoverageId
§asset_id: AssetId
§coverage_type: CoverageType
§effective_from: Timestamp
§expiry: Timestamp
§timestamp: Timestamp
§

CoverageStatusUpdated

Fields

§coverage_id: CoverageId
§new_status: CoverageStatus
§timestamp: Timestamp
§

ClaimFiled

Fields

§claim_id: ClaimId
§coverage_id: CoverageId
§claim_type: ClaimType
§date_of_loss: Timestamp
§timestamp: Timestamp
§

ClaimStatusUpdated

Fields

§claim_id: ClaimId
§new_status: ClaimStatus
§timestamp: Timestamp
§

ClaimPaid

Fields

§claim_id: ClaimId
§amount_commitment: [u8; 32]
§timestamp: Timestamp
§

PropertyProofSubmitted

Fields

§proof_id: ProofId
§timestamp: Timestamp
§

PropertyProofVerified

Fields

§proof_id: ProofId
§valid: bool
§timestamp: Timestamp

Trait Implementations§

Source§

impl Clone for PropertyEvent

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for PropertyEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PropertyEvent

Source§

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

Source§

fn eq(&self, other: &PropertyEvent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PropertyEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for PropertyEvent

Source§

impl StructuralPartialEq for PropertyEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,