pub struct TemplatePathInfo {
pub template_path: String,
pub output_relpath: String,
}Expand description
Information about a template and its output location
Fields§
§template_path: StringPath to the template file (e.g., “api/api_class.j2”)
output_relpath: StringRelative output path for the generated file (e.g., “apis/UserApi.ts”)
Implementations§
Trait Implementations§
Source§impl Clone for TemplatePathInfo
impl Clone for TemplatePathInfo
Source§fn clone(&self) -> TemplatePathInfo
fn clone(&self) -> TemplatePathInfo
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 TemplatePathInfo
impl Debug for TemplatePathInfo
Source§impl PartialEq for TemplatePathInfo
impl PartialEq for TemplatePathInfo
impl Eq for TemplatePathInfo
impl StructuralPartialEq for TemplatePathInfo
Auto Trait Implementations§
impl Freeze for TemplatePathInfo
impl RefUnwindSafe for TemplatePathInfo
impl Send for TemplatePathInfo
impl Sync for TemplatePathInfo
impl Unpin for TemplatePathInfo
impl UnsafeUnpin for TemplatePathInfo
impl UnwindSafe for TemplatePathInfo
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.