pub struct PlatformSpecific {
pub dependency: String,
pub version: String,
pub platforms: Vec<String>,
pub required: bool,
}Expand description
Platform-specific dependency configuration
Fields§
§dependency: String§version: String§platforms: Vec<String>§required: boolImplementations§
Trait Implementations§
Source§impl Clone for PlatformSpecific
impl Clone for PlatformSpecific
Source§fn clone(&self) -> PlatformSpecific
fn clone(&self) -> PlatformSpecific
Returns a duplicate 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 Debug for PlatformSpecific
impl Debug for PlatformSpecific
Source§impl<'de> Deserialize<'de> for PlatformSpecific
impl<'de> Deserialize<'de> for PlatformSpecific
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 PlatformSpecific
impl RefUnwindSafe for PlatformSpecific
impl Send for PlatformSpecific
impl Sync for PlatformSpecific
impl Unpin for PlatformSpecific
impl UnsafeUnpin for PlatformSpecific
impl UnwindSafe for PlatformSpecific
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