pub struct OreTreasury {
pub id: OreTreasuryId,
pub state: OreTreasuryState,
pub treasury_snapshot: Option<Option<Value>>,
}Fields§
§id: OreTreasuryId§state: OreTreasuryState§treasury_snapshot: Option<Option<Value>>Trait Implementations§
Source§impl Clone for OreTreasury
impl Clone for OreTreasury
Source§fn clone(&self) -> OreTreasury
fn clone(&self) -> OreTreasury
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 OreTreasury
impl Debug for OreTreasury
Source§impl Default for OreTreasury
impl Default for OreTreasury
Source§fn default() -> OreTreasury
fn default() -> OreTreasury
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OreTreasury
impl<'de> Deserialize<'de> for OreTreasury
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
Auto Trait Implementations§
impl Freeze for OreTreasury
impl RefUnwindSafe for OreTreasury
impl Send for OreTreasury
impl Sync for OreTreasury
impl Unpin for OreTreasury
impl UnsafeUnpin for OreTreasury
impl UnwindSafe for OreTreasury
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