pub enum DatasetReference {
ByPath {
path: String,
},
ByConnection {
connection_string: String,
},
Unresolved,
}Expand description
How a report reaches its semantic model (PBIR datasetReference).
Variants§
ByPath
Relative path to a sibling semantic-model folder (byPath). Forward
slashes are the Power BI-written form; hand-edited files may carry
backslashes, so the CLI accepts both when resolving.
ByConnection
Live connection to a remote semantic model (byConnection).
Unresolved
Absent, unrecognized, or not yet parsed.
Trait Implementations§
Source§impl Clone for DatasetReference
impl Clone for DatasetReference
Source§fn clone(&self) -> DatasetReference
fn clone(&self) -> DatasetReference
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 DatasetReference
impl Debug for DatasetReference
Source§impl Default for DatasetReference
impl Default for DatasetReference
Source§fn default() -> Self
fn default() -> Self
An unparsed reference is Unresolved, never a path or a connection,
mirroring PartitionSource::Other: schema drift
must never fabricate a report↔model pairing.
impl Eq for DatasetReference
Source§impl PartialEq for DatasetReference
impl PartialEq for DatasetReference
impl StructuralPartialEq for DatasetReference
Auto Trait Implementations§
impl Freeze for DatasetReference
impl RefUnwindSafe for DatasetReference
impl Send for DatasetReference
impl Sync for DatasetReference
impl Unpin for DatasetReference
impl UnsafeUnpin for DatasetReference
impl UnwindSafe for DatasetReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.