pub struct DbArgument {
pub cmd_path: String,
pub app_id: String,
pub node_name: String,
pub node_type: String,
pub description: String,
pub risk_level: String,
pub example_template: Option<String>,
pub docker_image: Option<String>,
pub script_url: Option<String>,
pub source_url: Option<String>,
}Expand description
Database record representing the arguments table row.
Fields§
§cmd_path: String§app_id: String§node_name: String§node_type: String§description: String§risk_level: String§example_template: Option<String>§docker_image: Option<String>§script_url: Option<String>§source_url: Option<String>Trait Implementations§
Source§impl Clone for DbArgument
impl Clone for DbArgument
Source§fn clone(&self) -> DbArgument
fn clone(&self) -> DbArgument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DbArgument
impl Debug for DbArgument
Source§impl<'de> Deserialize<'de> for DbArgument
impl<'de> Deserialize<'de> for DbArgument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DbArgument
Source§impl PartialEq for DbArgument
impl PartialEq for DbArgument
Source§fn eq(&self, other: &DbArgument) -> bool
fn eq(&self, other: &DbArgument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DbArgument
impl Serialize for DbArgument
impl StructuralPartialEq for DbArgument
Auto Trait Implementations§
impl Freeze for DbArgument
impl RefUnwindSafe for DbArgument
impl Send for DbArgument
impl Sync for DbArgument
impl Unpin for DbArgument
impl UnsafeUnpin for DbArgument
impl UnwindSafe for DbArgument
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