pub struct DagDbOmittedContextRef {
pub memory_id: String,
pub omission_reason: String,
pub token_estimate_if_selected: u32,
}Expand description
Omitted memory reference returned by graph context selection.
Fields§
§memory_id: String§omission_reason: String§token_estimate_if_selected: u32Trait Implementations§
Source§impl Clone for DagDbOmittedContextRef
impl Clone for DagDbOmittedContextRef
Source§fn clone(&self) -> DagDbOmittedContextRef
fn clone(&self) -> DagDbOmittedContextRef
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 DagDbOmittedContextRef
impl Debug for DagDbOmittedContextRef
Source§impl<'de> Deserialize<'de> for DagDbOmittedContextRef
impl<'de> Deserialize<'de> for DagDbOmittedContextRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbOmittedContextRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbOmittedContextRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbOmittedContextRef
Source§impl PartialEq for DagDbOmittedContextRef
impl PartialEq for DagDbOmittedContextRef
Source§fn eq(&self, other: &DagDbOmittedContextRef) -> bool
fn eq(&self, other: &DagDbOmittedContextRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbOmittedContextRef
impl Serialize for DagDbOmittedContextRef
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
impl StructuralPartialEq for DagDbOmittedContextRef
Auto Trait Implementations§
impl Freeze for DagDbOmittedContextRef
impl RefUnwindSafe for DagDbOmittedContextRef
impl Send for DagDbOmittedContextRef
impl Sync for DagDbOmittedContextRef
impl Unpin for DagDbOmittedContextRef
impl UnsafeUnpin for DagDbOmittedContextRef
impl UnwindSafe for DagDbOmittedContextRef
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