pub struct ArmoryDependency {
pub package_ref: Option<String>,
pub ref: Option<String>,
pub optional: Option<bool>,
}Fields§
§package_ref: Option<String>§ref: Option<String>§optional: Option<bool>Implementations§
Source§impl ArmoryDependency
impl ArmoryDependency
pub fn display_ref(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for ArmoryDependency
impl Clone for ArmoryDependency
Source§fn clone(&self) -> ArmoryDependency
fn clone(&self) -> ArmoryDependency
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 ArmoryDependency
impl Debug for ArmoryDependency
Source§impl<'de> Deserialize<'de> for ArmoryDependency
impl<'de> Deserialize<'de> for ArmoryDependency
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 ArmoryDependency
impl RefUnwindSafe for ArmoryDependency
impl Send for ArmoryDependency
impl Sync for ArmoryDependency
impl Unpin for ArmoryDependency
impl UnsafeUnpin for ArmoryDependency
impl UnwindSafe for ArmoryDependency
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