pub struct OwnerBalance {
pub balance: UnsignedInteger,
pub owner: SerializablePubkey,
}Expand description
OwnerBalance
JSON schema
{
"type": "object",
"required": [
"balance",
"owner"
],
"properties": {
"balance": {
"$ref": "#/components/schemas/UnsignedInteger"
},
"owner": {
"$ref": "#/components/schemas/SerializablePubkey"
}
}
}Fields§
§balance: UnsignedInteger§owner: SerializablePubkeyImplementations§
Source§impl OwnerBalance
impl OwnerBalance
pub fn builder() -> OwnerBalance
Trait Implementations§
Source§impl Clone for OwnerBalance
impl Clone for OwnerBalance
Source§fn clone(&self) -> OwnerBalance
fn clone(&self) -> OwnerBalance
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 OwnerBalance
impl Debug for OwnerBalance
Source§impl<'de> Deserialize<'de> for OwnerBalance
impl<'de> Deserialize<'de> for OwnerBalance
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 From<OwnerBalance> for OwnerBalance
impl From<OwnerBalance> for OwnerBalance
Source§fn from(value: OwnerBalance) -> Self
fn from(value: OwnerBalance) -> Self
Converts to this type from the input type.
Source§impl Serialize for OwnerBalance
impl Serialize for OwnerBalance
Source§impl TryFrom<OwnerBalance> for OwnerBalance
impl TryFrom<OwnerBalance> for OwnerBalance
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OwnerBalance) -> Result<Self, ConversionError>
fn try_from(value: OwnerBalance) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OwnerBalance
impl RefUnwindSafe for OwnerBalance
impl Send for OwnerBalance
impl Sync for OwnerBalance
impl Unpin for OwnerBalance
impl UnsafeUnpin for OwnerBalance
impl UnwindSafe for OwnerBalance
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