pub struct SubgraphFact {
pub id: String,
pub encrypted_blob: String,
pub encrypted_embedding: Option<String>,
pub decay_score: Option<String>,
pub timestamp: Option<String>,
pub created_at: Option<String>,
pub is_active: Option<bool>,
pub content_fp: Option<String>,
}Expand description
A raw fact from the subgraph GraphQL response.
Fields§
§id: String§encrypted_blob: String§encrypted_embedding: Option<String>§decay_score: Option<String>§timestamp: Option<String>§created_at: Option<String>§is_active: Option<bool>§content_fp: Option<String>Trait Implementations§
Source§impl Clone for SubgraphFact
impl Clone for SubgraphFact
Source§fn clone(&self) -> SubgraphFact
fn clone(&self) -> SubgraphFact
Returns a duplicate 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 SubgraphFact
impl Debug for SubgraphFact
Source§impl<'de> Deserialize<'de> for SubgraphFact
impl<'de> Deserialize<'de> for SubgraphFact
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubgraphFact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubgraphFact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SubgraphFact
impl Serialize for SubgraphFact
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SubgraphFact
impl RefUnwindSafe for SubgraphFact
impl Send for SubgraphFact
impl Sync for SubgraphFact
impl Unpin for SubgraphFact
impl UnsafeUnpin for SubgraphFact
impl UnwindSafe for SubgraphFact
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