pub struct TitleEvent {Show 17 fields
pub event_id: TitleEventId,
pub asset_id: AssetId,
pub event_type: TitleEventType,
pub event_commitment: [u8; 32],
pub grantor_ref: Option<PartyRef>,
pub grantee_ref: Option<PartyRef>,
pub issuer_address: Address,
pub issuer_class: PropertyIssuerClass,
pub effective_date: Timestamp,
pub recording_ref: Option<String>,
pub policy_id: PolicyId,
pub revocation_ref: Option<[u8; 32]>,
pub status: TitleEventStatus,
pub created_at: Timestamp,
pub recorded_at_height: BlockHeight,
pub supersedes: Option<TitleEventId>,
pub attachments: Vec<AttachmentRef>,
}Expand description
SRC-862 Title Event
Fields§
§event_id: TitleEventIdUnique event identifier
asset_id: AssetIdAsset this event relates to
event_type: TitleEventTypeEvent type
event_commitment: [u8; 32]BLAKE3 commitment of event details
grantor_ref: Option<PartyRef>Grantor (current owner) reference
grantee_ref: Option<PartyRef>Grantee (new owner) reference
issuer_address: AddressIssuer address
issuer_class: PropertyIssuerClassIssuer class
effective_date: TimestampEvent effective date
recording_ref: Option<String>Recording reference (instrument number, etc.)
policy_id: PolicyIdPolicy ID
revocation_ref: Option<[u8; 32]>Revocation reference (SRC-805 compatible)
status: TitleEventStatusStatus
created_at: TimestampCreation timestamp
recorded_at_height: BlockHeightBlock height when recorded
supersedes: Option<TitleEventId>Supersedes event ID
attachments: Vec<AttachmentRef>Attachments
Implementations§
Source§impl TitleEvent
impl TitleEvent
Sourcepub fn generate_id(
asset_id: &AssetId,
event_type: TitleEventType,
issuer: &Address,
nonce: &[u8; 32],
) -> TitleEventId
pub fn generate_id( asset_id: &AssetId, event_type: TitleEventType, issuer: &Address, nonce: &[u8; 32], ) -> TitleEventId
Generate event ID
Trait Implementations§
Source§impl Clone for TitleEvent
impl Clone for TitleEvent
Source§fn clone(&self) -> TitleEvent
fn clone(&self) -> TitleEvent
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 TitleEvent
impl Debug for TitleEvent
Source§impl<'de> Deserialize<'de> for TitleEvent
impl<'de> Deserialize<'de> for TitleEvent
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 TitleEvent
impl PartialEq for TitleEvent
Source§fn eq(&self, other: &TitleEvent) -> bool
fn eq(&self, other: &TitleEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TitleEvent
impl Serialize for TitleEvent
impl Eq for TitleEvent
impl StructuralPartialEq for TitleEvent
Auto Trait Implementations§
impl Freeze for TitleEvent
impl RefUnwindSafe for TitleEvent
impl Send for TitleEvent
impl Sync for TitleEvent
impl Unpin for TitleEvent
impl UnsafeUnpin for TitleEvent
impl UnwindSafe for TitleEvent
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