pub struct ProfileMetadata {
pub commit_sha: Option<String>,
pub env_hash: String,
pub model: String,
pub concurrency: u32,
pub runtime_flags: Value,
}Fields§
§commit_sha: Option<String>§env_hash: String§model: String§concurrency: u32§runtime_flags: ValueImplementations§
Source§impl ProfileMetadata
impl ProfileMetadata
pub fn from_env() -> Self
pub fn from_env_vars<I, K, V>(vars: I) -> Self
Trait Implementations§
Source§impl Clone for ProfileMetadata
impl Clone for ProfileMetadata
Source§fn clone(&self) -> ProfileMetadata
fn clone(&self) -> ProfileMetadata
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 ProfileMetadata
impl Debug for ProfileMetadata
Source§impl Default for ProfileMetadata
impl Default for ProfileMetadata
Source§impl<'de> Deserialize<'de> for ProfileMetadata
impl<'de> Deserialize<'de> for ProfileMetadata
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 PartialEq for ProfileMetadata
impl PartialEq for ProfileMetadata
Source§fn eq(&self, other: &ProfileMetadata) -> bool
fn eq(&self, other: &ProfileMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfileMetadata
impl Serialize for ProfileMetadata
impl StructuralPartialEq for ProfileMetadata
Auto Trait Implementations§
impl Freeze for ProfileMetadata
impl RefUnwindSafe for ProfileMetadata
impl Send for ProfileMetadata
impl Sync for ProfileMetadata
impl Unpin for ProfileMetadata
impl UnsafeUnpin for ProfileMetadata
impl UnwindSafe for ProfileMetadata
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