pub struct CompilerMetadata {
pub date: String,
pub version: String,
}
Fields§
§date: String
§version: String
Trait Implementations§
source§impl Clone for CompilerMetadata
impl Clone for CompilerMetadata
source§fn clone(&self) -> CompilerMetadata
fn clone(&self) -> CompilerMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CompilerMetadata
impl Default for CompilerMetadata
source§fn default() -> CompilerMetadata
fn default() -> CompilerMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompilerMetadata
impl<'de> Deserialize<'de> for CompilerMetadata
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
Auto Trait Implementations§
impl Freeze for CompilerMetadata
impl RefUnwindSafe for CompilerMetadata
impl Send for CompilerMetadata
impl Sync for CompilerMetadata
impl Unpin for CompilerMetadata
impl UnwindSafe for CompilerMetadata
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
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes