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: Fee
Base cost of creating a full access access-key.
function_call_cost: Fee
Base cost of creating an access-key restricted to specific functions.
function_call_cost_per_byte: Fee
Cost 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§fn clone_from(&mut self, source: &Self)
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<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<&AccessKeyCreationConfigView> for AccessKeyCreationConfigView
impl From<&AccessKeyCreationConfigView> for AccessKeyCreationConfigView
Source§fn from(value: &AccessKeyCreationConfigView) -> Self
fn from(value: &AccessKeyCreationConfigView) -> Self
Converts to this type from the input type.
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