pub struct ModeDecl {
pub id: String,
pub meaning: Option<Text>,
}Expand description
A mode of Escouade a harness takes (default, plan, acceptEdits, bypassPermissions), and what it means
there, as the menu says it. Written as its id alone, or { "id", "meaning" }.
Fields§
§id: String§meaning: Option<Text>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModeDecl
impl<'de> Deserialize<'de> for ModeDecl
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModeDecl
impl StructuralPartialEq for ModeDecl
Auto Trait Implementations§
impl Freeze for ModeDecl
impl RefUnwindSafe for ModeDecl
impl Send for ModeDecl
impl Sync for ModeDecl
impl Unpin for ModeDecl
impl UnsafeUnpin for ModeDecl
impl UnwindSafe for ModeDecl
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