pub struct StakeResponse {
pub id: String,
}
Fields§
§id: String
The unique identifier of the staking position
Implementations§
Source§impl StakeResponse
impl StakeResponse
pub fn new(id: String) -> StakeResponse
Trait Implementations§
Source§impl Clone for StakeResponse
impl Clone for StakeResponse
Source§fn clone(&self) -> StakeResponse
fn clone(&self) -> StakeResponse
Returns a copy 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 StakeResponse
impl Debug for StakeResponse
Source§impl Default for StakeResponse
impl Default for StakeResponse
Source§fn default() -> StakeResponse
fn default() -> StakeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StakeResponse
impl<'de> Deserialize<'de> for StakeResponse
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 StakeResponse
impl PartialEq for StakeResponse
Source§impl Serialize for StakeResponse
impl Serialize for StakeResponse
impl StructuralPartialEq for StakeResponse
Auto Trait Implementations§
impl Freeze for StakeResponse
impl RefUnwindSafe for StakeResponse
impl Send for StakeResponse
impl Sync for StakeResponse
impl Unpin for StakeResponse
impl UnwindSafe for StakeResponse
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