pub struct ModeCreate {
pub name: String,
pub title: String,
pub description: String,
}Expand description
POST body of a mode create (C-mode “POST /mode production”). Field order is the wire order, so the recorded request body is deterministic.
Fields§
§name: StringThe mode name; validated before any request.
title: StringDisplay title.
description: StringFree-text description.
Trait Implementations§
Source§impl Clone for ModeCreate
impl Clone for ModeCreate
Source§impl Debug for ModeCreate
impl Debug for ModeCreate
impl Eq for ModeCreate
Source§impl PartialEq for ModeCreate
impl PartialEq for ModeCreate
Source§impl Serialize for ModeCreate
impl Serialize for ModeCreate
impl StructuralPartialEq for ModeCreate
Auto Trait Implementations§
impl Freeze for ModeCreate
impl RefUnwindSafe for ModeCreate
impl Send for ModeCreate
impl Sync for ModeCreate
impl Unpin for ModeCreate
impl UnsafeUnpin for ModeCreate
impl UnwindSafe for ModeCreate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.