pub struct RelationSource {
pub name: String,
pub url: String,
}Expand description
A relation source with a name and download URL.
Fields§
§name: StringRelation identifier; matched against predicate names in Datalog queries.
url: StringHTTP(S) URL of a Parquet file containing the relation’s tuples.
Trait Implementations§
Source§impl Clone for RelationSource
impl Clone for RelationSource
Source§fn clone(&self) -> RelationSource
fn clone(&self) -> RelationSource
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 RelationSource
impl Debug for RelationSource
Source§impl<'de> Deserialize<'de> for RelationSource
impl<'de> Deserialize<'de> for RelationSource
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 Freeze for RelationSource
impl RefUnwindSafe for RelationSource
impl Send for RelationSource
impl Sync for RelationSource
impl Unpin for RelationSource
impl UnsafeUnpin for RelationSource
impl UnwindSafe for RelationSource
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