pub struct JsonBool {
pub value: bool,
}Expand description
Fields§
§value: boolTrait Implementations§
Source§impl Deserializable for JsonBool
impl Deserializable for JsonBool
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for JsonBool
impl Identifiable for JsonBool
Source§const CONSTRUCTOR_ID: u32 = 0xc7345e6a
const CONSTRUCTOR_ID: u32 = 0xc7345e6a
The constructor ID as specified in the TL schema.
Source§impl Serializable for JsonBool
impl Serializable for JsonBool
impl StructuralPartialEq for JsonBool
Auto Trait Implementations§
impl Freeze for JsonBool
impl RefUnwindSafe for JsonBool
impl Send for JsonBool
impl Sync for JsonBool
impl Unpin for JsonBool
impl UnsafeUnpin for JsonBool
impl UnwindSafe for JsonBool
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