pub struct PersonalFactCandidate {
pub subject_local_id: String,
pub predicate: String,
pub value: String,
pub display_value: Option<String>,
pub valid_from: Option<String>,
pub valid_to: Option<String>,
pub retract: bool,
}Fields§
§subject_local_id: String§predicate: String§value: String§display_value: Option<String>§valid_from: Option<String>§valid_to: Option<String>§retract: boolThe writer asks to forget this predicate rather than state a value.
Only a direct owner statement retracts; value is ignored.
Trait Implementations§
Source§impl Clone for PersonalFactCandidate
impl Clone for PersonalFactCandidate
Source§impl Debug for PersonalFactCandidate
impl Debug for PersonalFactCandidate
Source§impl<'de> Deserialize<'de> for PersonalFactCandidate
impl<'de> Deserialize<'de> for PersonalFactCandidate
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 Forget for PersonalFactCandidate
impl Freeze for PersonalFactCandidate
impl Move for PersonalFactCandidate
impl RefUnwindSafe for PersonalFactCandidate
impl Send for PersonalFactCandidatewhere
RawVecInner: Send,
impl Sync for PersonalFactCandidatewhere
RawVecInner: Sync,
impl Unpin for PersonalFactCandidate
impl UnsafeUnpin for PersonalFactCandidate
impl UnwindSafe for PersonalFactCandidatewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more