pub struct GraphResolveIn {
pub as_of: Option<String>,
pub entity: Option<String>,
pub relation: Option<String>,
}Fields§
§as_of: Option<String>AsOf is the instant to answer at, RFC 3339. Absent means now.
entity: Option<String>Entity is the thing to answer about. Required.
relation: Option<String>Relation is the one relation to settle. Required: this answers a single (entity, relation) pair, never a whole entity at once.
Implementations§
Source§impl GraphResolveIn
impl GraphResolveIn
pub fn new() -> GraphResolveIn
Trait Implementations§
Source§impl Clone for GraphResolveIn
impl Clone for GraphResolveIn
Source§fn clone(&self) -> GraphResolveIn
fn clone(&self) -> GraphResolveIn
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 GraphResolveIn
impl Debug for GraphResolveIn
Source§impl Default for GraphResolveIn
impl Default for GraphResolveIn
Source§fn default() -> GraphResolveIn
fn default() -> GraphResolveIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphResolveIn
impl<'de> Deserialize<'de> for GraphResolveIn
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
Source§impl PartialEq for GraphResolveIn
impl PartialEq for GraphResolveIn
Source§impl Serialize for GraphResolveIn
impl Serialize for GraphResolveIn
impl StructuralPartialEq for GraphResolveIn
Auto Trait Implementations§
impl Freeze for GraphResolveIn
impl RefUnwindSafe for GraphResolveIn
impl Send for GraphResolveIn
impl Sync for GraphResolveIn
impl Unpin for GraphResolveIn
impl UnsafeUnpin for GraphResolveIn
impl UnwindSafe for GraphResolveIn
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