pub struct MavenSession {
pub current_project: Option<MavenProject>,
pub projects: Vec<MavenProject>,
pub settings: Settings,
pub system_properties: HashMap<String, String>,
pub user_properties: HashMap<String, String>,
pub execution_root: PathBuf,
pub local_repository: PathBuf,
}Expand description
Maven execution session
Fields§
§current_project: Option<MavenProject>Current project
projects: Vec<MavenProject>All projects in the reactor
settings: SettingsSettings
system_properties: HashMap<String, String>System properties
user_properties: HashMap<String, String>User properties
execution_root: PathBufExecution root directory
local_repository: PathBufLocal repository path
Implementations§
Source§impl MavenSession
impl MavenSession
pub fn new(execution_root: PathBuf, settings: Settings) -> Self
pub fn with_project(self, project: MavenProject) -> Self
Trait Implementations§
Source§impl Clone for MavenSession
impl Clone for MavenSession
Source§fn clone(&self) -> MavenSession
fn clone(&self) -> MavenSession
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 moreAuto Trait Implementations§
impl Freeze for MavenSession
impl RefUnwindSafe for MavenSession
impl Send for MavenSession
impl Sync for MavenSession
impl Unpin for MavenSession
impl UnsafeUnpin for MavenSession
impl UnwindSafe for MavenSession
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more