pub struct PackageData {
pub name: Option<String>,
pub before: Option<String>,
pub after: Option<String>,
pub pre: Option<String>,
pub post: Option<String>,
}Expand description
Package-specific configuration data
Fields§
§name: Option<String>§before: Option<String>§after: Option<String>§pre: Option<String>§post: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PackageData
impl Clone for PackageData
Source§fn clone(&self) -> PackageData
fn clone(&self) -> PackageData
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 PackageData
impl Debug for PackageData
Source§impl<'de> Deserialize<'de> for PackageData
impl<'de> Deserialize<'de> for PackageData
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 PackageData
impl PartialEq for PackageData
Source§impl Serialize for PackageData
impl Serialize for PackageData
impl StructuralPartialEq for PackageData
Auto Trait Implementations§
impl Freeze for PackageData
impl RefUnwindSafe for PackageData
impl Send for PackageData
impl Sync for PackageData
impl Unpin for PackageData
impl UnwindSafe for PackageData
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