Struct sdl_parser::inject::Inject
source · pub struct Inject {
pub name: Option<String>,
pub source: Option<Source>,
pub from_entity: Option<String>,
pub to_entities: Option<Vec<String>>,
pub tlos: Option<Vec<String>>,
pub description: Option<String>,
pub environment: Option<Vec<String>>,
/* private fields */
}
Fields§
§name: Option<String>
§source: Option<Source>
§from_entity: Option<String>
§to_entities: Option<Vec<String>>
§tlos: Option<Vec<String>>
§description: Option<String>
§environment: Option<Vec<String>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Inject
impl<'de> Deserialize<'de> for Inject
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 for Inject
impl PartialEq for Inject
impl Eq for Inject
impl StructuralPartialEq for Inject
Auto Trait Implementations§
impl RefUnwindSafe for Inject
impl Send for Inject
impl Sync for Inject
impl Unpin for Inject
impl UnwindSafe for Inject
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.