pub struct BlockHeaderAuthAccount {
pub codeNum: AccountNumber,
pub codeHash: Checksum256,
pub vmType: u8,
pub vmVersion: u8,
}Fields§
§codeNum: AccountNumber§codeHash: Checksum256§vmType: u8§vmVersion: u8Implementations§
Trait Implementations§
Source§impl Clone for BlockHeaderAuthAccount
impl Clone for BlockHeaderAuthAccount
Source§fn clone(&self) -> BlockHeaderAuthAccount
fn clone(&self) -> BlockHeaderAuthAccount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContainerType for BlockHeaderAuthAccount
impl ContainerType for BlockHeaderAuthAccount
Source§async fn resolve_field(&self, ctx: &Context<'_>) -> ServerResult<Option<Value>>
async fn resolve_field(&self, ctx: &Context<'_>) -> ServerResult<Option<Value>>
Resolves a field value and outputs it as a json value
async_graphql::Value. Read moreSource§fn collect_all_fields<'a>(
&'a self,
ctx: &ContextBase<'a, &'a Positioned<SelectionSet>>,
fields: &mut Fields<'a>,
) -> Result<(), ServerError>
fn collect_all_fields<'a>( &'a self, ctx: &ContextBase<'a, &'a Positioned<SelectionSet>>, fields: &mut Fields<'a>, ) -> Result<(), ServerError>
Collect all the fields of the container that are queried in the
selection set. Read more
Source§fn find_entity(
&self,
_: &ContextBase<'_, &Positioned<Field>>,
_params: &ConstValue,
) -> impl Future<Output = Result<Option<ConstValue>, ServerError>> + Send
fn find_entity( &self, _: &ContextBase<'_, &Positioned<Field>>, _params: &ConstValue, ) -> impl Future<Output = Result<Option<ConstValue>, ServerError>> + Send
Find the GraphQL entity with the given name from the parameter. Read more
Source§impl Debug for BlockHeaderAuthAccount
impl Debug for BlockHeaderAuthAccount
Source§impl Default for BlockHeaderAuthAccount
impl Default for BlockHeaderAuthAccount
Source§fn default() -> BlockHeaderAuthAccount
fn default() -> BlockHeaderAuthAccount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockHeaderAuthAccount
impl<'de> Deserialize<'de> for BlockHeaderAuthAccount
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
impl InputObjectType for BlockHeaderAuthAccount
Source§impl InputType for BlockHeaderAuthAccount
impl InputType for BlockHeaderAuthAccount
Source§type RawValueType = BlockHeaderAuthAccount
type RawValueType = BlockHeaderAuthAccount
The raw type used for validator. Read more
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl ObjectType for BlockHeaderAuthAccount
Source§impl OutputType for BlockHeaderAuthAccount
impl OutputType for BlockHeaderAuthAccount
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
_field: &Positioned<Field>,
) -> ServerResult<Value>
async fn resolve( &self, ctx: &ContextSelectionSet<'_>, _field: &Positioned<Field>, ) -> ServerResult<Value>
Resolve an output value to
async_graphql::Value.Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
Source§impl Pack for BlockHeaderAuthAccount
impl Pack for BlockHeaderAuthAccount
Source§impl Serialize for BlockHeaderAuthAccount
impl Serialize for BlockHeaderAuthAccount
Source§impl ToKey for BlockHeaderAuthAccount
impl ToKey for BlockHeaderAuthAccount
Source§impl ToSchema for BlockHeaderAuthAccount
impl ToSchema for BlockHeaderAuthAccount
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for BlockHeaderAuthAccount
impl<'a> Unpack<'a> for BlockHeaderAuthAccount
Source§fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(src: &mut FracInputStream<'_>) -> Result<()>
fn verify(src: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for BlockHeaderAuthAccount
impl RefUnwindSafe for BlockHeaderAuthAccount
impl Send for BlockHeaderAuthAccount
impl Sync for BlockHeaderAuthAccount
impl Unpin for BlockHeaderAuthAccount
impl UnsafeUnpin for BlockHeaderAuthAccount
impl UnwindSafe for BlockHeaderAuthAccount
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