pub enum ClaimObject {
Entity {
mention: MentionRef,
},
Literal {
literal_type: String,
value: String,
span: (u32, u32),
},
}Expand description
The object of an extracted claim.
Variants§
Trait Implementations§
Source§impl Clone for ClaimObject
impl Clone for ClaimObject
Source§fn clone(&self) -> ClaimObject
fn clone(&self) -> ClaimObject
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 ClaimObject
impl Debug for ClaimObject
Source§impl<'de> Deserialize<'de> for ClaimObject
impl<'de> Deserialize<'de> for ClaimObject
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
Auto Trait Implementations§
impl Freeze for ClaimObject
impl RefUnwindSafe for ClaimObject
impl Send for ClaimObject
impl Sync for ClaimObject
impl Unpin for ClaimObject
impl UnsafeUnpin for ClaimObject
impl UnwindSafe for ClaimObject
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