pub struct ProviderProfile {
pub format: Option<FormatId>,
pub provider: Option<String>,
pub capabilities: TargetCapabilities,
}Expand description
Provider-level profile that can be used to configure target capabilities.
Fields§
§format: Option<FormatId>§provider: Option<String>§capabilities: TargetCapabilitiesTrait Implementations§
Source§impl Clone for ProviderProfile
impl Clone for ProviderProfile
Source§fn clone(&self) -> ProviderProfile
fn clone(&self) -> ProviderProfile
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 ProviderProfile
impl Debug for ProviderProfile
Source§impl Default for ProviderProfile
impl Default for ProviderProfile
Source§fn default() -> ProviderProfile
fn default() -> ProviderProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderProfile
impl<'de> Deserialize<'de> for ProviderProfile
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
impl Eq for ProviderProfile
Source§impl PartialEq for ProviderProfile
impl PartialEq for ProviderProfile
Source§impl Serialize for ProviderProfile
impl Serialize for ProviderProfile
impl StructuralPartialEq for ProviderProfile
Auto Trait Implementations§
impl Freeze for ProviderProfile
impl RefUnwindSafe for ProviderProfile
impl Send for ProviderProfile
impl Sync for ProviderProfile
impl Unpin for ProviderProfile
impl UnsafeUnpin for ProviderProfile
impl UnwindSafe for ProviderProfile
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