#[repr(transparent)]pub struct Utf8(pub Blob);Tuple Fields§
§0: BlobTrait Implementations§
Source§impl CandidType for Utf8
impl CandidType for Utf8
Source§impl<'de> Deserialize<'de> for Utf8
impl<'de> Deserialize<'de> for Utf8
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 FieldTypeMeta for Utf8
impl FieldTypeMeta for Utf8
Source§const KIND: FieldKind = Self::__KIND
const KIND: FieldKind = Self::__KIND
Semantic field kind used for runtime planning and validation.
Source§const STORAGE_DECODE: FieldStorageDecode = Self::__STORAGE_DECODE
const STORAGE_DECODE: FieldStorageDecode = Self::__STORAGE_DECODE
Persisted decode contract used by row and payload decoding.
Source§const NESTED_FIELDS: &'static [FieldModel]
const NESTED_FIELDS: &'static [FieldModel]
Known nested fields for generated structured records.
Source§impl PersistedStructuredFieldCodec for Utf8
impl PersistedStructuredFieldCodec for Utf8
Source§fn encode_persisted_structured_payload(&self) -> Result<Vec<u8>, InternalError>
fn encode_persisted_structured_payload(&self) -> Result<Vec<u8>, InternalError>
Encode this typed structured field into persisted structured payload bytes.
Source§fn decode_persisted_structured_payload(
bytes: &[u8],
) -> Result<Self, InternalError>
fn decode_persisted_structured_payload( bytes: &[u8], ) -> Result<Self, InternalError>
Decode this typed structured field from persisted structured payload bytes.
Source§impl RuntimeValueDecode for Utf8
impl RuntimeValueDecode for Utf8
fn from_value(value: &Value) -> Option<Self>
Source§impl RuntimeValueMeta for Utf8
impl RuntimeValueMeta for Utf8
fn kind() -> RuntimeValueKind
Source§impl SanitizeAuto for Utf8
impl SanitizeAuto for Utf8
fn sanitize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl SanitizeCustom for Utf8
impl SanitizeCustom for Utf8
fn sanitize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateAuto for Utf8
impl ValidateAuto for Utf8
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for Utf8
impl ValidateCustom for Utf8
fn validate_custom(&self, ctx: &mut dyn VisitorContext)
Source§impl Visitable for Utf8
impl Visitable for Utf8
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
impl Eq for Utf8
impl StructuralPartialEq for Utf8
Auto Trait Implementations§
impl Freeze for Utf8
impl RefUnwindSafe for Utf8
impl Send for Utf8
impl Sync for Utf8
impl Unpin for Utf8
impl UnsafeUnpin for Utf8
impl UnwindSafe for Utf8
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> KeyValueCodec for Twhere
T: RuntimeValueDecode + RuntimeValueEncode,
impl<T> KeyValueCodec for Twhere
T: RuntimeValueDecode + RuntimeValueEncode,
fn to_key_value(&self) -> Value
fn from_key_value(value: &Value) -> Option<T>
Source§impl<T> PersistedFieldMetaCodec for T
impl<T> PersistedFieldMetaCodec for T
Source§fn encode_persisted_slot_payload_by_meta(
&self,
field_name: &'static str,
) -> Result<Vec<u8>, InternalError>
fn encode_persisted_slot_payload_by_meta( &self, field_name: &'static str, ) -> Result<Vec<u8>, InternalError>
Encode one non-optional field payload through the type’s own
FieldTypeMeta storage contract.Source§fn decode_persisted_slot_payload_by_meta(
bytes: &[u8],
field_name: &'static str,
) -> Result<T, InternalError>
fn decode_persisted_slot_payload_by_meta( bytes: &[u8], field_name: &'static str, ) -> Result<T, InternalError>
Decode one non-optional field payload through the type’s own
FieldTypeMeta storage contract.Source§fn encode_persisted_option_slot_payload_by_meta(
value: &Option<T>,
field_name: &'static str,
) -> Result<Vec<u8>, InternalError>
fn encode_persisted_option_slot_payload_by_meta( value: &Option<T>, field_name: &'static str, ) -> Result<Vec<u8>, InternalError>
Encode one optional field payload through the inner type’s own
FieldTypeMeta storage contract.Source§fn decode_persisted_option_slot_payload_by_meta(
bytes: &[u8],
field_name: &'static str,
) -> Result<Option<T>, InternalError>
fn decode_persisted_option_slot_payload_by_meta( bytes: &[u8], field_name: &'static str, ) -> Result<Option<T>, InternalError>
Decode one optional field payload through the inner type’s own
FieldTypeMeta storage contract.