pub struct OptionField {
pub doc: &'static str,
pub default: &'static str,
pub value_type: &'static str,
pub scope: Option<&'static str>,
pub example: &'static str,
pub deprecated: Option<Deprecated>,
pub possible_values: Option<Vec<PossibleValue>>,
pub uv_toml_only: bool,
}Fields§
§doc: &'static str§default: &'static strEx) "false"
value_type: &'static strEx) "bool"
scope: Option<&'static str>Ex) "per-file-ignores"
example: &'static str§deprecated: Option<Deprecated>§possible_values: Option<Vec<PossibleValue>>§uv_toml_only: boolIf true, this option is only available in uv.toml, not pyproject.toml.
Trait Implementations§
Source§impl Clone for OptionField
impl Clone for OptionField
Source§fn clone(&self) -> OptionField
fn clone(&self) -> OptionField
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 OptionField
impl Debug for OptionField
Source§impl Display for OptionField
impl Display for OptionField
Source§impl PartialEq for OptionField
impl PartialEq for OptionField
Source§impl Serialize for OptionField
impl Serialize for OptionField
impl Eq for OptionField
impl StructuralPartialEq for OptionField
Auto Trait Implementations§
impl Freeze for OptionField
impl RefUnwindSafe for OptionField
impl Send for OptionField
impl Sync for OptionField
impl Unpin for OptionField
impl UnsafeUnpin for OptionField
impl UnwindSafe for OptionField
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