pub struct TransformsSpec {
pub file: Option<PathBuf>,
pub inline: Option<String>,
}Expand description
the transforms: block of a map spec: starlark source from a file or
inline. exactly one of the two must be set.
Fields§
§file: Option<PathBuf>path to a starlark file; a relative path resolves against the spec file.
inline: Option<String>inline starlark source.
Trait Implementations§
Source§impl Debug for TransformsSpec
impl Debug for TransformsSpec
Source§impl<'de> Deserialize<'de> for TransformsSpec
impl<'de> Deserialize<'de> for TransformsSpec
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 TransformsSpec
impl RefUnwindSafe for TransformsSpec
impl Send for TransformsSpec
impl Sync for TransformsSpec
impl Unpin for TransformsSpec
impl UnsafeUnpin for TransformsSpec
impl UnwindSafe for TransformsSpec
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