pub struct ClaimResolutionRecord {
pub schema: String,
pub schema_version: u8,
pub record_id: Blake3Hex,
pub raw_igc_hash: Blake3Hex,
pub claim_record_id: Blake3Hex,
pub resolver_id: String,
pub signature: String,
pub resolution: ClaimResolutionOutcome,
pub basis: Vec<String>,
pub created_at: String,
pub supersedes: Vec<Blake3Hex>,
}Fields§
§schema: String§schema_version: u8§record_id: Blake3Hex§raw_igc_hash: Blake3Hex§claim_record_id: Blake3Hex§resolver_id: String§signature: String§resolution: ClaimResolutionOutcome§basis: Vec<String>§created_at: String§supersedes: Vec<Blake3Hex>Implementations§
Source§impl ClaimResolutionRecord
impl ClaimResolutionRecord
pub fn issue( resolver_secret_key: &SecretKey, raw_igc_hash: Blake3Hex, claim_record_id: Blake3Hex, resolution: ClaimResolutionOutcome, basis: Vec<String>, supersedes: Vec<Blake3Hex>, created_at: impl Into<String>, ) -> Result<Self, FlightGovernanceRecordError>
pub fn validate(&self) -> Result<(), FlightGovernanceRecordError>
Trait Implementations§
Source§impl Clone for ClaimResolutionRecord
impl Clone for ClaimResolutionRecord
Source§fn clone(&self) -> ClaimResolutionRecord
fn clone(&self) -> ClaimResolutionRecord
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 ClaimResolutionRecord
impl Debug for ClaimResolutionRecord
Source§impl<'de> Deserialize<'de> for ClaimResolutionRecord
impl<'de> Deserialize<'de> for ClaimResolutionRecord
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 ClaimResolutionRecord
impl PartialEq for ClaimResolutionRecord
Source§fn eq(&self, other: &ClaimResolutionRecord) -> bool
fn eq(&self, other: &ClaimResolutionRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClaimResolutionRecord
impl Serialize for ClaimResolutionRecord
impl Eq for ClaimResolutionRecord
impl StructuralPartialEq for ClaimResolutionRecord
Auto Trait Implementations§
impl Freeze for ClaimResolutionRecord
impl RefUnwindSafe for ClaimResolutionRecord
impl Send for ClaimResolutionRecord
impl Sync for ClaimResolutionRecord
impl Unpin for ClaimResolutionRecord
impl UnsafeUnpin for ClaimResolutionRecord
impl UnwindSafe for ClaimResolutionRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.