pub struct TemplateMetadata {
pub variable_count: usize,
pub variables: Vec<String>,
pub template_length: usize,
pub has_query_parameters: bool,
pub has_fragments: bool,
pub estimated_complexity: u32,
}Expand description
Template metadata
Fields§
§variable_count: usize§variables: Vec<String>§template_length: usize§has_query_parameters: bool§has_fragments: bool§estimated_complexity: u32Trait Implementations§
Source§impl Clone for TemplateMetadata
impl Clone for TemplateMetadata
Source§fn clone(&self) -> TemplateMetadata
fn clone(&self) -> TemplateMetadata
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 moreAuto Trait Implementations§
impl Freeze for TemplateMetadata
impl RefUnwindSafe for TemplateMetadata
impl Send for TemplateMetadata
impl Sync for TemplateMetadata
impl Unpin for TemplateMetadata
impl UnwindSafe for TemplateMetadata
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