Struct photon_api::models::_get_compressed_balance_post_200_response_result::GetCompressedBalancePost200ResponseResult
source · pub struct GetCompressedBalancePost200ResponseResult {
pub context: Box<Context>,
pub value: i32,
}Fields§
§context: Box<Context>§value: i32Implementations§
source§impl GetCompressedBalancePost200ResponseResult
impl GetCompressedBalancePost200ResponseResult
pub fn new( context: Context, value: i32, ) -> GetCompressedBalancePost200ResponseResult
Trait Implementations§
source§impl Clone for GetCompressedBalancePost200ResponseResult
impl Clone for GetCompressedBalancePost200ResponseResult
source§fn clone(&self) -> GetCompressedBalancePost200ResponseResult
fn clone(&self) -> GetCompressedBalancePost200ResponseResult
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 Default for GetCompressedBalancePost200ResponseResult
impl Default for GetCompressedBalancePost200ResponseResult
source§fn default() -> GetCompressedBalancePost200ResponseResult
fn default() -> GetCompressedBalancePost200ResponseResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetCompressedBalancePost200ResponseResult
impl<'de> Deserialize<'de> for GetCompressedBalancePost200ResponseResult
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 GetCompressedBalancePost200ResponseResult
impl PartialEq for GetCompressedBalancePost200ResponseResult
source§fn eq(&self, other: &GetCompressedBalancePost200ResponseResult) -> bool
fn eq(&self, other: &GetCompressedBalancePost200ResponseResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetCompressedBalancePost200ResponseResult
Auto Trait Implementations§
impl Freeze for GetCompressedBalancePost200ResponseResult
impl RefUnwindSafe for GetCompressedBalancePost200ResponseResult
impl Send for GetCompressedBalancePost200ResponseResult
impl Sync for GetCompressedBalancePost200ResponseResult
impl Unpin for GetCompressedBalancePost200ResponseResult
impl UnwindSafe for GetCompressedBalancePost200ResponseResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)