pub struct AccessKeyCreationConfigView {
pub full_access_cost: Fee,
pub function_call_cost: Fee,
pub function_call_cost_per_byte: Fee,
}Expand description
Describes the cost of creating an access key.
JSON schema
{
"description": "Describes the cost of creating an access key.",
"type": "object",
"required": [
"full_access_cost",
"function_call_cost",
"function_call_cost_per_byte"
],
"properties": {
"full_access_cost": {
"description": "Base cost of creating a full access access-key.",
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
]
},
"function_call_cost": {
"description": "Base cost of creating an access-key restricted to specific functions.",
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
]
},
"function_call_cost_per_byte": {
"description": "Cost per byte of method_names of creating a restricted access-key.",
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
]
}
}
}Fields§
§full_access_cost: FeeBase cost of creating a full access access-key.
function_call_cost: FeeBase cost of creating an access-key restricted to specific functions.
function_call_cost_per_byte: FeeCost per byte of method_names of creating a restricted access-key.
Trait Implementations§
Source§impl Clone for AccessKeyCreationConfigView
impl Clone for AccessKeyCreationConfigView
Source§fn clone(&self) -> AccessKeyCreationConfigView
fn clone(&self) -> AccessKeyCreationConfigView
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccessKeyCreationConfigView
impl Debug for AccessKeyCreationConfigView
Source§impl<'de> Deserialize<'de> for AccessKeyCreationConfigView
impl<'de> Deserialize<'de> for AccessKeyCreationConfigView
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AccessKeyCreationConfigView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AccessKeyCreationConfigView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AccessKeyCreationConfigView> for AccessKeyCreationConfigView
impl From<&AccessKeyCreationConfigView> for AccessKeyCreationConfigView
Source§fn from(value: &AccessKeyCreationConfigView) -> AccessKeyCreationConfigView
fn from(value: &AccessKeyCreationConfigView) -> AccessKeyCreationConfigView
Converts to this type from the input type.
Source§impl Serialize for AccessKeyCreationConfigView
impl Serialize for AccessKeyCreationConfigView
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AccessKeyCreationConfigView
impl RefUnwindSafe for AccessKeyCreationConfigView
impl Send for AccessKeyCreationConfigView
impl Sync for AccessKeyCreationConfigView
impl Unpin for AccessKeyCreationConfigView
impl UnwindSafe for AccessKeyCreationConfigView
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