Struct scl_core::version::structs::SpecificalArgument
source · pub struct SpecificalArgument {
pub rules: Vec<ApplyRule>,
pub value: Vec<String>,
}
Expand description
特殊指派的参数
Fields§
§rules: Vec<ApplyRule>
添加此参数需要满足的条件
value: Vec<String>
需要添加的参数
Trait Implementations§
source§impl Clone for SpecificalArgument
impl Clone for SpecificalArgument
source§fn clone(&self) -> SpecificalArgument
fn clone(&self) -> SpecificalArgument
Returns a copy of the value. Read more
1.0.0 · 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 SpecificalArgument
impl Debug for SpecificalArgument
source§impl<'de> Deserialize<'de> for SpecificalArgument
impl<'de> Deserialize<'de> for SpecificalArgument
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
source§impl PartialEq<SpecificalArgument> for SpecificalArgument
impl PartialEq<SpecificalArgument> for SpecificalArgument
source§fn eq(&self, other: &SpecificalArgument) -> bool
fn eq(&self, other: &SpecificalArgument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpecificalArgument
impl Serialize for SpecificalArgument
impl Eq for SpecificalArgument
impl StructuralEq for SpecificalArgument
impl StructuralPartialEq for SpecificalArgument
Auto Trait Implementations§
impl RefUnwindSafe for SpecificalArgument
impl Send for SpecificalArgument
impl Sync for SpecificalArgument
impl Unpin for SpecificalArgument
impl UnwindSafe for SpecificalArgument
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.