pub struct CjsParameter {
pub iri: String,
pub range: Option<String>,
pub comment: Option<String>,
pub required: bool,
pub lazy: bool,
pub unique: bool,
pub default_value: Option<Value>,
}Expand description
A parameter on a CJS component.
Fields§
§iri: String§range: Option<String>§comment: Option<String>§required: bool§lazy: bool§unique: bool§default_value: Option<Value>Trait Implementations§
Source§impl Clone for CjsParameter
impl Clone for CjsParameter
Source§fn clone(&self) -> CjsParameter
fn clone(&self) -> CjsParameter
Returns a duplicate 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 CjsParameter
impl Debug for CjsParameter
Source§impl<'de> Deserialize<'de> for CjsParameter
impl<'de> Deserialize<'de> for CjsParameter
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
Auto Trait Implementations§
impl Freeze for CjsParameter
impl RefUnwindSafe for CjsParameter
impl Send for CjsParameter
impl Sync for CjsParameter
impl Unpin for CjsParameter
impl UnsafeUnpin for CjsParameter
impl UnwindSafe for CjsParameter
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