pub struct Directives {Show 19 fields
pub deps: Vec<String>,
pub runtime_deps: Vec<String>,
pub repos: Vec<String>,
pub sources: Vec<String>,
pub files: Vec<String>,
pub javac_options: Vec<String>,
pub runtime_options: Vec<String>,
pub native_options: Vec<String>,
pub java_agents: Vec<KeyValue>,
pub manifest_options: Vec<KeyValue>,
pub docs: Vec<KeyValue>,
pub java_version: Option<String>,
pub main_class: Option<String>,
pub module: Option<String>,
pub gav: Option<String>,
pub description: Option<String>,
pub enable_preview: bool,
pub enable_cds: bool,
pub disable_integrations: bool,
}Fields§
§deps: Vec<String>§runtime_deps: Vec<String>§repos: Vec<String>§sources: Vec<String>§files: Vec<String>§javac_options: Vec<String>§runtime_options: Vec<String>§native_options: Vec<String>§java_agents: Vec<KeyValue>§manifest_options: Vec<KeyValue>§docs: Vec<KeyValue>§java_version: Option<String>§main_class: Option<String>§module: Option<String>§gav: Option<String>§description: Option<String>§enable_preview: bool§enable_cds: bool§disable_integrations: boolTrait Implementations§
Source§impl Clone for Directives
impl Clone for Directives
Source§fn clone(&self) -> Directives
fn clone(&self) -> Directives
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Directives
impl Debug for Directives
Source§impl Default for Directives
impl Default for Directives
Source§fn default() -> Directives
fn default() -> Directives
Returns the “default value” for a type. Read more
Source§impl PartialEq for Directives
impl PartialEq for Directives
Source§fn eq(&self, other: &Directives) -> bool
fn eq(&self, other: &Directives) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Directives
impl StructuralPartialEq for Directives
Auto Trait Implementations§
impl Freeze for Directives
impl RefUnwindSafe for Directives
impl Send for Directives
impl Sync for Directives
impl Unpin for Directives
impl UnsafeUnpin for Directives
impl UnwindSafe for Directives
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.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