pub struct Package {
pub name: String,
pub version: String,
pub edition: Edition,
pub resolver: Option<String>,
pub publish: bool,
}
Fields§
§name: String
§version: String
§edition: Edition
§resolver: Option<String>
§publish: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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