pub struct GasKeyView {
pub balance: u64,
pub num_nonces: u32,
pub permission: AccessKeyPermissionView,
}
Expand description
GasKeyView
JSON schema
{
"type": "object",
"required": [
"balance",
"num_nonces",
"permission"
],
"properties": {
"balance": {
"type": "integer",
"format": "uint128",
"minimum": 0.0
},
"num_nonces": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"permission": {
"$ref": "#/components/schemas/AccessKeyPermissionView"
}
}
}
Fields§
§balance: u64
§num_nonces: u32
§permission: AccessKeyPermissionView
Trait Implementations§
Source§impl Clone for GasKeyView
impl Clone for GasKeyView
Source§fn clone(&self) -> GasKeyView
fn clone(&self) -> GasKeyView
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 GasKeyView
impl Debug for GasKeyView
Source§impl<'de> Deserialize<'de> for GasKeyView
impl<'de> Deserialize<'de> for GasKeyView
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<&GasKeyView> for GasKeyView
impl From<&GasKeyView> for GasKeyView
Source§fn from(value: &GasKeyView) -> Self
fn from(value: &GasKeyView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GasKeyView
impl RefUnwindSafe for GasKeyView
impl Send for GasKeyView
impl Sync for GasKeyView
impl Unpin for GasKeyView
impl UnwindSafe for GasKeyView
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