#[non_exhaustive]pub struct Member {
pub name: String,
pub version: String,
pub manifest: PathBuf,
pub publish: Option<Vec<String>>,
pub workspace_deps: Vec<String>,
}Expand description
A workspace member that publishes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe crate name.
version: StringThe version Cargo resolves for it.
manifest: PathBufIts Cargo.toml.
publish: Option<Vec<String>>The registries its publish names. None when it names none, which
lets it publish anywhere.
workspace_deps: Vec<String>Other published members of the same workspace that this member depends on through a publish-ordering dependency, sorted and without repeats.
Trait Implementations§
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Forget for Member
impl Freeze for Member
impl Move for Member
impl RefUnwindSafe for Member
impl Send for Memberwhere
RawVecInner: Send,
impl Sync for Memberwhere
RawVecInner: Sync,
impl Unpin for Member
impl UnsafeUnpin for Memberwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Memberwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.