#[non_exhaustive]pub struct EntityV3SystemSpec {
pub components: Option<Vec<String>>,
pub lifecycle: Option<String>,
pub tier: Option<String>,
/* private fields */
}
Expand description
The definition of Entity V3 System Spec object.
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.components: Option<Vec<String>>
A list of components belongs to the system.
lifecycle: Option<String>
The lifecycle state of the component.
tier: Option<String>
An entity reference to the owner of the component.
Implementations§
Trait Implementations§
Source§impl Clone for EntityV3SystemSpec
impl Clone for EntityV3SystemSpec
Source§fn clone(&self) -> EntityV3SystemSpec
fn clone(&self) -> EntityV3SystemSpec
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 EntityV3SystemSpec
impl Debug for EntityV3SystemSpec
Source§impl Default for EntityV3SystemSpec
impl Default for EntityV3SystemSpec
Source§impl<'de> Deserialize<'de> for EntityV3SystemSpec
impl<'de> Deserialize<'de> for EntityV3SystemSpec
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 EntityV3SystemSpec
impl PartialEq for EntityV3SystemSpec
Source§impl Serialize for EntityV3SystemSpec
impl Serialize for EntityV3SystemSpec
impl StructuralPartialEq for EntityV3SystemSpec
Auto Trait Implementations§
impl Freeze for EntityV3SystemSpec
impl RefUnwindSafe for EntityV3SystemSpec
impl Send for EntityV3SystemSpec
impl Sync for EntityV3SystemSpec
impl Unpin for EntityV3SystemSpec
impl UnwindSafe for EntityV3SystemSpec
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