Struct polar_core::terms::ExternalInstance
source · pub struct ExternalInstance {
pub instance_id: u64,
pub constructor: Option<Term>,
pub repr: Option<String>,
pub class_repr: Option<String>,
pub class_id: Option<u64>,
}
Fields§
§instance_id: u64
§constructor: Option<Term>
§repr: Option<String>
§class_repr: Option<String>
§class_id: Option<u64>
Trait Implementations§
source§impl Clone for ExternalInstance
impl Clone for ExternalInstance
source§fn clone(&self) -> ExternalInstance
fn clone(&self) -> ExternalInstance
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 ExternalInstance
impl Debug for ExternalInstance
source§impl<'de> Deserialize<'de> for ExternalInstance
impl<'de> Deserialize<'de> for ExternalInstance
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 From<ExternalInstance> for Value
impl From<ExternalInstance> for Value
source§fn from(other: ExternalInstance) -> Self
fn from(other: ExternalInstance) -> Self
Converts to this type from the input type.
source§impl From<u64> for ExternalInstance
impl From<u64> for ExternalInstance
source§impl Hash for ExternalInstance
impl Hash for ExternalInstance
source§impl PartialEq for ExternalInstance
impl PartialEq for ExternalInstance
source§fn eq(&self, other: &ExternalInstance) -> bool
fn eq(&self, other: &ExternalInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExternalInstance
impl Serialize for ExternalInstance
impl Eq for ExternalInstance
impl StructuralEq for ExternalInstance
impl StructuralPartialEq for ExternalInstance
Auto Trait Implementations§
impl RefUnwindSafe for ExternalInstance
impl Send for ExternalInstance
impl Sync for ExternalInstance
impl Unpin for ExternalInstance
impl UnwindSafe for ExternalInstance
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