pub struct NewOptions {
pub enabled: bool,
pub title: Option<String>,
pub description: Option<String>,
pub parent: Option<String>,
pub inheritable: Option<bool>,
}Expand description
project new flags — only provided fields ride the create body
(absent = NOT SENT, Pitfall 5); enabled is the CLI --disabled
flag inverted at the dispatch seam.
Fields§
§enabled: boolWhether the project starts enabled.
title: Option<String>Display title.
description: Option<String>Long description.
parent: Option<String>Parent project (inheritance).
inheritable: Option<bool>Whether this project may serve as a parent.
Trait Implementations§
Source§impl Clone for NewOptions
impl Clone for NewOptions
Source§impl Debug for NewOptions
impl Debug for NewOptions
Auto Trait Implementations§
impl Forget for NewOptions
impl Freeze for NewOptions
impl Move for NewOptions
impl RefUnwindSafe for NewOptions
impl Send for NewOptions
impl Sync for NewOptions
impl Unpin for NewOptions
impl UnsafeUnpin for NewOptions
impl UnwindSafe for NewOptions
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