pub struct TypeFixedBinary { /* private fields */ }Implementations§
Source§impl TypeFixedBinary
impl TypeFixedBinary
pub fn max_length<T>(self, value: T) -> TypeFixedBinary
pub fn metadata<T>(self, value: T) -> TypeFixedBinary
pub fn system_metadata<T>(self, value: T) -> TypeFixedBinarywhere
T: TryInto<Option<SystemTypeMetadata>>,
<T as TryInto<Option<SystemTypeMetadata>>>::Error: Display,
pub fn type_<T>(self, value: T) -> TypeFixedBinary
Trait Implementations§
Source§impl Clone for TypeFixedBinary
impl Clone for TypeFixedBinary
Source§fn clone(&self) -> TypeFixedBinary
fn clone(&self) -> TypeFixedBinary
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 Debug for TypeFixedBinary
impl Debug for TypeFixedBinary
Source§impl Default for TypeFixedBinary
impl Default for TypeFixedBinary
Source§fn default() -> TypeFixedBinary
fn default() -> TypeFixedBinary
Returns the “default value” for a type. Read more
Source§impl From<TypeFixedBinary> for TypeFixedBinary
impl From<TypeFixedBinary> for TypeFixedBinary
Source§fn from(value: TypeFixedBinary) -> TypeFixedBinary
fn from(value: TypeFixedBinary) -> TypeFixedBinary
Converts to this type from the input type.
Source§impl TryFrom<TypeFixedBinary> for TypeFixedBinary
impl TryFrom<TypeFixedBinary> for TypeFixedBinary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeFixedBinary) -> Result<TypeFixedBinary, ConversionError>
fn try_from(value: TypeFixedBinary) -> Result<TypeFixedBinary, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for TypeFixedBinary
impl Freeze for TypeFixedBinarywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<Value>: Freeze,
impl Move for TypeFixedBinary
impl RefUnwindSafe for TypeFixedBinary
impl Send for TypeFixedBinary
impl Sync for TypeFixedBinary
impl Unpin for TypeFixedBinary
impl UnsafeUnpin for TypeFixedBinarywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for TypeFixedBinary
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