pub struct LakeQueryContext {
pub study_id: StudyId,
pub dataset_id: Option<VersionId>,
pub principal: Option<String>,
}Fields§
§study_id: StudyId§dataset_id: Option<VersionId>§principal: Option<String>Implementations§
Source§impl LakeQueryContext
impl LakeQueryContext
pub fn new(study_id: StudyId) -> Self
pub fn for_dataset(self, dataset_id: VersionId) -> Self
pub fn for_principal(self, principal: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for LakeQueryContext
impl Clone for LakeQueryContext
Source§fn clone(&self) -> LakeQueryContext
fn clone(&self) -> LakeQueryContext
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 LakeQueryContext
impl Debug for LakeQueryContext
Source§impl<'de> Deserialize<'de> for LakeQueryContext
impl<'de> Deserialize<'de> for LakeQueryContext
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 LakeQueryContext
impl PartialEq for LakeQueryContext
Source§impl Serialize for LakeQueryContext
impl Serialize for LakeQueryContext
impl Eq for LakeQueryContext
impl StructuralPartialEq for LakeQueryContext
Auto Trait Implementations§
impl Freeze for LakeQueryContext
impl RefUnwindSafe for LakeQueryContext
impl Send for LakeQueryContext
impl Sync for LakeQueryContext
impl Unpin for LakeQueryContext
impl UnsafeUnpin for LakeQueryContext
impl UnwindSafe for LakeQueryContext
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more