pub struct AccountRow {
pub name: String,
pub default: bool,
pub backends: Vec<&'static str>,
pub not_built: Vec<&'static str>,
}Available on crate feature
terminal only.Expand description
One account of the list.
Fields§
§name: StringThe name of the [accounts.<name>] block.
default: boolWhether a command with no -a/--account runs against it.
backends: Vec<&'static str>The backends it declares a block for that this build serves.
not_built: Vec<&'static str>The backends it declares a block for that this build leaves out, which a command reaching one refuses.
Trait Implementations§
Source§impl Clone for AccountRow
impl Clone for AccountRow
Source§impl Debug for AccountRow
impl Debug for AccountRow
Source§impl JsonSchema for AccountRow
impl JsonSchema for AccountRow
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for AccountRow
impl Freeze for AccountRow
impl Move for AccountRow
impl RefUnwindSafe for AccountRow
impl Send for AccountRow
impl Sync for AccountRow
impl Unpin for AccountRow
impl UnsafeUnpin for AccountRow
impl UnwindSafe for AccountRow
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