#[non_exhaustive]pub struct TargetSpec {
pub relative_path: String,
/* private fields */
}Expand description
Represents one path to the location that holds target data.
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.relative_path: StringThe relative path for the target data. Given source file
base_uri/input/sql, the output would be
target_base_uri/sql/relative_path/input.sql.
Implementations§
Source§impl TargetSpec
impl TargetSpec
Trait Implementations§
Source§impl Clone for TargetSpec
impl Clone for TargetSpec
Source§fn clone(&self) -> TargetSpec
fn clone(&self) -> TargetSpec
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 TargetSpec
impl Debug for TargetSpec
Source§impl Default for TargetSpec
impl Default for TargetSpec
Source§fn default() -> TargetSpec
fn default() -> TargetSpec
Returns the “default value” for a type. Read more
Source§impl PartialEq for TargetSpec
impl PartialEq for TargetSpec
impl StructuralPartialEq for TargetSpec
Auto Trait Implementations§
impl Freeze for TargetSpec
impl RefUnwindSafe for TargetSpec
impl Send for TargetSpec
impl Sync for TargetSpec
impl Unpin for TargetSpec
impl UnwindSafe for TargetSpec
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