pub struct FieldInfo {
pub nth: i16,
pub is_vl_encoded: bool,
pub is_serialized: bool,
pub is_signing_field: bool,
pub type: String,
}
Expand description
Fields§
§nth: i16
The field code – sort order position for fields of the same type.
is_vl_encoded: bool
Whether the serialized length of this field varies.
is_serialized: bool
If the field is presented in binary serialized representation.
is_signing_field: bool
If the field should be included in signed transactions.
type: String
The name of this field’s serialization type, e.g. UInt32, AccountID, etc.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldInfo
impl<'de> Deserialize<'de> for FieldInfo
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
Auto Trait Implementations§
impl Freeze for FieldInfo
impl RefUnwindSafe for FieldInfo
impl Send for FieldInfo
impl Sync for FieldInfo
impl Unpin for FieldInfo
impl UnwindSafe for FieldInfo
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