pub struct CargoMetaData {
pub meta_data: String,
}Expand description
The json serialized from cargo meta_data. This solves the binary encoding/decoding problem when some serde attrs like skip are not supported.
Fields§
§meta_data: StringImplementations§
Trait Implementations§
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CargoMetaDatawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CargoMetaDatawhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CargoMetaDatawhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CargoMetaDatawhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for CargoMetaData
impl<'de> Deserialize<'de> for CargoMetaData
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 Encode<Binary> for CargoMetaData
impl Encode<Binary> for CargoMetaData
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = CargoMetaData
type Encode = CargoMetaData
The underlying type being encoded. Read more
Source§impl Encode<Text> for CargoMetaData
impl Encode<Text> for CargoMetaData
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = CargoMetaData
type Encode = CargoMetaData
The underlying type being encoded. Read more
Auto Trait Implementations§
impl Freeze for CargoMetaData
impl RefUnwindSafe for CargoMetaData
impl Send for CargoMetaData
impl Sync for CargoMetaData
impl Unpin for CargoMetaData
impl UnwindSafe for CargoMetaData
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