pub struct EnvironmentEntry {
pub name: String,
pub state: EnvironmentState,
pub value: Option<String>,
pub withheld: bool,
}Expand description
One tmux environment entry.
Fields§
§name: StringThe variable name.
state: EnvironmentStateWhether the name holds a value or is marked for removal.
value: Option<String>The value, only for a set variable whose name the operator allowed in
LIBTMUX_ENVIRONMENT_VALUES at startup.
withheld: boolTrue for a set variable whose value was not returned because the operator did not allow its name.
Trait Implementations§
Source§impl Debug for EnvironmentEntry
impl Debug for EnvironmentEntry
Source§impl JsonSchema for EnvironmentEntry
impl JsonSchema for EnvironmentEntry
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 Freeze for EnvironmentEntry
impl RefUnwindSafe for EnvironmentEntry
impl Send for EnvironmentEntry
impl Sync for EnvironmentEntry
impl Unpin for EnvironmentEntry
impl UnsafeUnpin for EnvironmentEntry
impl UnwindSafe for EnvironmentEntry
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