pub struct TemplateExpansionOptions {
pub security_policy: TemplateSecurityPolicy,
pub url_encode_values: bool,
pub validate_expanded_uri: bool,
pub max_expanded_length: usize,
}Expand description
Template expansion options
Fields§
§security_policy: TemplateSecurityPolicySecurity policy to apply
url_encode_values: boolWhether to URL encode variable values
validate_expanded_uri: boolWhether to validate expanded URI
max_expanded_length: usizeMaximum expanded URI length
Trait Implementations§
Source§impl Clone for TemplateExpansionOptions
impl Clone for TemplateExpansionOptions
Source§fn clone(&self) -> TemplateExpansionOptions
fn clone(&self) -> TemplateExpansionOptions
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 TemplateExpansionOptions
impl Debug for TemplateExpansionOptions
Source§impl Default for TemplateExpansionOptions
impl Default for TemplateExpansionOptions
Source§fn default() -> TemplateExpansionOptions
fn default() -> TemplateExpansionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TemplateExpansionOptions
impl RefUnwindSafe for TemplateExpansionOptions
impl Send for TemplateExpansionOptions
impl Sync for TemplateExpansionOptions
impl Unpin for TemplateExpansionOptions
impl UnwindSafe for TemplateExpansionOptions
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