pub struct TemplateHashResult {
pub minified_template: Option<String>,
pub template_hash: Option<String>,
}
Expand description
Result of the request to calculate template hash. It contains a string of minified template and its hash.
Fields§
§minified_template: Option<String>
The minified template string.
template_hash: Option<String>
The template hash.
Implementations§
Trait Implementations§
source§impl Clone for TemplateHashResult
impl Clone for TemplateHashResult
source§fn clone(&self) -> TemplateHashResult
fn clone(&self) -> TemplateHashResult
Returns a copy 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 TemplateHashResult
impl Debug for TemplateHashResult
source§impl Default for TemplateHashResult
impl Default for TemplateHashResult
source§fn default() -> TemplateHashResult
fn default() -> TemplateHashResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TemplateHashResult
impl<'de> Deserialize<'de> for TemplateHashResult
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
source§impl PartialEq<TemplateHashResult> for TemplateHashResult
impl PartialEq<TemplateHashResult> for TemplateHashResult
source§fn eq(&self, other: &TemplateHashResult) -> bool
fn eq(&self, other: &TemplateHashResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.