#[non_exhaustive]pub struct FactsPathInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub entity_a: String,
pub entity_b: String,
pub max_hops: Option<Integer>,
pub top_k_per_hop: Option<Integer>,
pub min_co_occur: Option<Integer>,
pub as_of: Option<Option<String>>,
pub relations: Option<Vec<String>>,
pub labeled: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§namespace: Option<String>§entity_a: String§entity_b: String§max_hops: Option<Integer>§top_k_per_hop: Option<Integer>§min_co_occur: Option<Integer>§as_of: Option<Option<String>>§relations: Option<Vec<String>>§labeled: Option<bool>Implementations§
Source§impl FactsPathInput
impl FactsPathInput
pub fn new(entity_a: impl Into<String>, entity_b: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn max_hops(self, max_hops: impl Into<Integer>) -> Self
pub fn top_k_per_hop(self, top_k_per_hop: impl Into<Integer>) -> Self
pub fn min_co_occur(self, min_co_occur: impl Into<Integer>) -> Self
pub fn as_of(self, as_of: impl Into<String>) -> Self
pub fn as_of_null(self) -> Self
pub fn relations( self, relations: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn labeled(self, labeled: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<FactsPathOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for FactsPathInput
impl Clone for FactsPathInput
Source§impl Debug for FactsPathInput
impl Debug for FactsPathInput
Source§impl<'de> Deserialize<'de> for FactsPathInput
impl<'de> Deserialize<'de> for FactsPathInput
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 FactsPathInput
impl PartialEq for FactsPathInput
Source§impl Serialize for FactsPathInput
impl Serialize for FactsPathInput
impl StructuralPartialEq for FactsPathInput
Auto Trait Implementations§
impl Forget for FactsPathInput
impl Freeze for FactsPathInput
impl Move for FactsPathInput
impl RefUnwindSafe for FactsPathInput
impl Send for FactsPathInput
impl Sync for FactsPathInput
impl Unpin for FactsPathInput
impl UnsafeUnpin for FactsPathInput
impl UnwindSafe for FactsPathInput
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