pub struct ManifestSource {
pub unique_id: String,
pub name: String,
pub source_name: String,
pub resource_type: String,
pub description: Option<String>,
pub path: Option<String>,
pub original_file_path: Option<String>,
pub columns: HashMap<String, ManifestColumn>,
pub database: Option<String>,
pub schema: Option<String>,
pub identifier: Option<String>,
}Expand description
A source entry in the manifest
Fields§
§unique_id: String§name: String§source_name: String§resource_type: String§description: Option<String>§path: Option<String>§original_file_path: Option<String>Project-root-relative path; preferred over path for file matching.
columns: HashMap<String, ManifestColumn>Column definitions keyed by column name
database: Option<String>Physical database name (may differ from source_name)
schema: Option<String>Physical schema name (may differ from source_name)
identifier: Option<String>Physical table identifier (defaults to name when absent)
Trait Implementations§
Source§impl Debug for ManifestSource
impl Debug for ManifestSource
Source§impl<'de> Deserialize<'de> for ManifestSource
impl<'de> Deserialize<'de> for ManifestSource
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 ManifestSource
impl RefUnwindSafe for ManifestSource
impl Send for ManifestSource
impl Sync for ManifestSource
impl Unpin for ManifestSource
impl UnsafeUnpin for ManifestSource
impl UnwindSafe for ManifestSource
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more