pub struct RegisteredExternalType {Show 20 fields
pub package_id: ObjectId,
pub object_id: ObjectId,
pub local_id: String,
pub display_name: String,
pub codec_version: u32,
pub semantic_revision: u32,
pub storage_kind: u16,
pub fixed_bytes: u32,
pub max_bytes: u32,
pub capabilities: u64,
pub codec_fingerprint: [u8; 32],
pub encode: RadixAbiCodecFnV1,
pub decode: RadixAbiParseFnV1,
pub equality: Option<RadixAbiEqualFnV1>,
pub hash: Option<RadixAbiHashFnV1>,
pub ordering: Option<RadixAbiCompareFnV1>,
pub text_input: Option<RadixAbiParseFnV1>,
pub text_output: Option<RadixAbiCodecFnV1>,
pub binary_input: Option<RadixAbiParseFnV1>,
pub binary_output: Option<RadixAbiCodecFnV1>,
}Fields§
§package_id: ObjectId§object_id: ObjectId§local_id: String§display_name: String§codec_version: u32§semantic_revision: u32§storage_kind: u16§fixed_bytes: u32§max_bytes: u32§capabilities: u64§codec_fingerprint: [u8; 32]§encode: RadixAbiCodecFnV1§decode: RadixAbiParseFnV1§equality: Option<RadixAbiEqualFnV1>§hash: Option<RadixAbiHashFnV1>§ordering: Option<RadixAbiCompareFnV1>§text_input: Option<RadixAbiParseFnV1>§text_output: Option<RadixAbiCodecFnV1>§binary_input: Option<RadixAbiParseFnV1>§binary_output: Option<RadixAbiCodecFnV1>Trait Implementations§
Source§impl Clone for RegisteredExternalType
impl Clone for RegisteredExternalType
Source§fn clone(&self) -> RegisteredExternalType
fn clone(&self) -> RegisteredExternalType
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 moreAuto Trait Implementations§
impl Freeze for RegisteredExternalType
impl RefUnwindSafe for RegisteredExternalType
impl Send for RegisteredExternalType
impl Sync for RegisteredExternalType
impl Unpin for RegisteredExternalType
impl UnsafeUnpin for RegisteredExternalType
impl UnwindSafe for RegisteredExternalType
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