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: u64constructor: Option<Term>repr: Option<String>class_repr: Option<String>class_id: Option<u64>Trait Implementations
sourceimpl Clone for ExternalInstance
impl Clone for ExternalInstance
sourcefn clone(&self) -> ExternalInstance
fn clone(&self) -> ExternalInstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ExternalInstance
impl Debug for ExternalInstance
sourceimpl<'de> Deserialize<'de> for ExternalInstance
impl<'de> Deserialize<'de> for ExternalInstance
sourcefn 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
sourceimpl From<ExternalInstance> for Value
impl From<ExternalInstance> for Value
sourcefn from(other: ExternalInstance) -> Self
fn from(other: ExternalInstance) -> Self
Converts to this type from the input type.
sourceimpl From<u64> for ExternalInstance
impl From<u64> for ExternalInstance
sourceimpl Hash for ExternalInstance
impl Hash for ExternalInstance
sourceimpl PartialEq<ExternalInstance> for ExternalInstance
impl PartialEq<ExternalInstance> for ExternalInstance
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ExternalInstance) -> bool
fn ne(&self, other: &ExternalInstance) -> bool
This method tests for !=.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more