pub struct StakePoolView {
pub id: StakePoolId,
pub parameters: StakePool,
pub status: Option<StakePoolStatus>,
pub stake: Option<AdaValue>,
}Expand description
Stake pool view (for queries).
Fields§
§id: StakePoolIdPool ID.
parameters: StakePoolPool parameters.
status: Option<StakePoolStatus>Pool status.
stake: Option<AdaValue>Live stake (if requested).
Trait Implementations§
Source§impl Clone for StakePoolView
impl Clone for StakePoolView
Source§impl Debug for StakePoolView
impl Debug for StakePoolView
Source§impl<'de> Deserialize<'de> for StakePoolView
impl<'de> Deserialize<'de> for StakePoolView
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 StakePoolView
impl PartialEq for StakePoolView
Source§impl Serialize for StakePoolView
impl Serialize for StakePoolView
impl StructuralPartialEq for StakePoolView
Auto Trait Implementations§
impl Freeze for StakePoolView
impl RefUnwindSafe for StakePoolView
impl Send for StakePoolView
impl Sync for StakePoolView
impl Unpin for StakePoolView
impl UnsafeUnpin for StakePoolView
impl UnwindSafe for StakePoolView
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