#[non_exhaustive]pub struct ScriptArgument {
pub name: String,
pub description: Option<String>,
}Expand description
An arguments <name> entry of an op script file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§description: Option<String>Trait Implementations§
Source§impl Clone for ScriptArgument
impl Clone for ScriptArgument
Source§impl Debug for ScriptArgument
impl Debug for ScriptArgument
impl Eq for ScriptArgument
Source§impl PartialEq for ScriptArgument
impl PartialEq for ScriptArgument
impl StructuralPartialEq for ScriptArgument
Auto Trait Implementations§
impl Forget for ScriptArgument
impl Freeze for ScriptArgument
impl Move for ScriptArgument
impl RefUnwindSafe for ScriptArgument
impl Send for ScriptArgumentwhere
RawVecInner: Send,
impl Sync for ScriptArgumentwhere
RawVecInner: Sync,
impl Unpin for ScriptArgument
impl UnsafeUnpin for ScriptArgument
impl UnwindSafe for ScriptArgumentwhere
RawVecInner: UnwindSafe,
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