pub struct OpenMarketPenaltyArtifact {Show 22 fields
pub schema: String,
pub penalty_id: String,
pub fee_schedule_id: String,
pub charter_id: String,
pub case_id: String,
pub governing_operator_id: String,
pub namespace: String,
pub listing_id: String,
pub activation_id: Option<String>,
pub subject_operator_id: Option<String>,
pub abuse_class: OpenMarketAbuseClass,
pub bond_class: OpenMarketBondClass,
pub action: OpenMarketPenaltyAction,
pub state: OpenMarketPenaltyState,
pub penalty_amount: MonetaryAmount,
pub opened_at: u64,
pub updated_at: u64,
pub expires_at: Option<u64>,
pub evidence_refs: Vec<OpenMarketEvidenceReference>,
pub supersedes_penalty_id: Option<String>,
pub issued_by: String,
pub note: Option<String>,
}Fields§
§schema: String§penalty_id: String§fee_schedule_id: String§charter_id: String§case_id: String§governing_operator_id: String§namespace: String§listing_id: String§activation_id: Option<String>§subject_operator_id: Option<String>§abuse_class: OpenMarketAbuseClass§bond_class: OpenMarketBondClass§action: OpenMarketPenaltyAction§state: OpenMarketPenaltyState§penalty_amount: MonetaryAmount§opened_at: u64§updated_at: u64§expires_at: Option<u64>§evidence_refs: Vec<OpenMarketEvidenceReference>§supersedes_penalty_id: Option<String>§issued_by: String§note: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for OpenMarketPenaltyArtifact
impl Clone for OpenMarketPenaltyArtifact
Source§fn clone(&self) -> OpenMarketPenaltyArtifact
fn clone(&self) -> OpenMarketPenaltyArtifact
Returns a duplicate of the value. Read more
1.0.0 · 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 OpenMarketPenaltyArtifact
impl Debug for OpenMarketPenaltyArtifact
Source§impl<'de> Deserialize<'de> for OpenMarketPenaltyArtifact
impl<'de> Deserialize<'de> for OpenMarketPenaltyArtifact
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpenMarketPenaltyArtifact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpenMarketPenaltyArtifact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OpenMarketPenaltyArtifact
impl Serialize for OpenMarketPenaltyArtifact
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for OpenMarketPenaltyArtifact
impl StructuralPartialEq for OpenMarketPenaltyArtifact
Auto Trait Implementations§
impl Freeze for OpenMarketPenaltyArtifact
impl RefUnwindSafe for OpenMarketPenaltyArtifact
impl Send for OpenMarketPenaltyArtifact
impl Sync for OpenMarketPenaltyArtifact
impl Unpin for OpenMarketPenaltyArtifact
impl UnsafeUnpin for OpenMarketPenaltyArtifact
impl UnwindSafe for OpenMarketPenaltyArtifact
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.