pub struct PortableEntity {
pub state_name: String,
pub program_id: Option<String>,
pub identity: PortableIdentitySpec,
pub handlers: Vec<PortableHandlerSpec>,
pub sections: Vec<PortableEntitySection>,
pub field_mappings: BTreeMap<String, PortableFieldTypeInfo>,
pub resolver_hooks: Vec<PortableResolverHook>,
pub instruction_hooks: Vec<PortableInstructionHook>,
pub resolver_specs: Vec<PortableResolverSpec>,
pub computed_fields: Vec<String>,
pub computed_field_specs: Vec<PortableComputedFieldSpec>,
pub views: Vec<PortableView>,
}Fields§
§state_name: String§program_id: Option<String>§identity: PortableIdentitySpec§handlers: Vec<PortableHandlerSpec>§sections: Vec<PortableEntitySection>§field_mappings: BTreeMap<String, PortableFieldTypeInfo>§resolver_hooks: Vec<PortableResolverHook>§instruction_hooks: Vec<PortableInstructionHook>§resolver_specs: Vec<PortableResolverSpec>§computed_fields: Vec<String>§computed_field_specs: Vec<PortableComputedFieldSpec>§views: Vec<PortableView>Implementations§
Trait Implementations§
Source§impl Clone for PortableEntity
impl Clone for PortableEntity
Source§fn clone(&self) -> PortableEntity
fn clone(&self) -> PortableEntity
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 PortableEntity
impl Debug for PortableEntity
Source§impl<'de> Deserialize<'de> for PortableEntity
impl<'de> Deserialize<'de> for PortableEntity
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 PortableEntity
impl PartialEq for PortableEntity
Source§impl Serialize for PortableEntity
impl Serialize for PortableEntity
impl StructuralPartialEq for PortableEntity
Auto Trait Implementations§
impl Freeze for PortableEntity
impl RefUnwindSafe for PortableEntity
impl Send for PortableEntity
impl Sync for PortableEntity
impl Unpin for PortableEntity
impl UnsafeUnpin for PortableEntity
impl UnwindSafe for PortableEntity
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