pub struct PlannedPackage {
pub name: String,
pub version: String,
pub manifest_path: PathBuf,
}Expand description
A package in the publish plan.
This represents a single crate that will be published as part of
a ReleasePlan. It contains the minimal information needed to
identify and publish the crate.
§Example
ⓘ
use std::path::PathBuf;
use shipper::types::PlannedPackage;
let pkg = PlannedPackage {
name: "my-crate".to_string(),
version: "1.2.3".to_string(),
manifest_path: PathBuf::from("crates/my-crate/Cargo.toml"),
};Fields§
§name: String§version: String§manifest_path: PathBufTrait Implementations§
Source§impl Clone for PlannedPackage
impl Clone for PlannedPackage
Source§fn clone(&self) -> PlannedPackage
fn clone(&self) -> PlannedPackage
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 PlannedPackage
impl Debug for PlannedPackage
Source§impl<'de> Deserialize<'de> for PlannedPackage
impl<'de> Deserialize<'de> for PlannedPackage
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 PlannedPackage
impl RefUnwindSafe for PlannedPackage
impl Send for PlannedPackage
impl Sync for PlannedPackage
impl Unpin for PlannedPackage
impl UnsafeUnpin for PlannedPackage
impl UnwindSafe for PlannedPackage
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