pub enum SecurityUrlShape {
FixedOriginDynamicPath,
DynamicOrigin,
}Expand description
Static URL construction shape captured for URL-shaped security sinks.
Variants§
FixedOriginDynamicPath
The sink target has a fixed origin, scheme, or relative root while only path or query components are dynamic.
DynamicOrigin
The sink target’s scheme or origin is dynamic or opaque.
Trait Implementations§
Source§impl Clone for SecurityUrlShape
impl Clone for SecurityUrlShape
impl Copy for SecurityUrlShape
Source§impl Debug for SecurityUrlShape
impl Debug for SecurityUrlShape
impl<'__de> Decode<'__de> for SecurityUrlShapewhere
'__de:,
Source§impl<'de> Deserialize<'de> for SecurityUrlShape
impl<'de> Deserialize<'de> for SecurityUrlShape
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
impl Encode for SecurityUrlShape
impl Eq for SecurityUrlShape
Source§impl PartialEq for SecurityUrlShape
impl PartialEq for SecurityUrlShape
Source§impl Serialize for SecurityUrlShape
impl Serialize for SecurityUrlShape
impl StructuralPartialEq for SecurityUrlShape
Auto Trait Implementations§
impl Freeze for SecurityUrlShape
impl RefUnwindSafe for SecurityUrlShape
impl Send for SecurityUrlShape
impl Sync for SecurityUrlShape
impl Unpin for SecurityUrlShape
impl UnsafeUnpin for SecurityUrlShape
impl UnwindSafe for SecurityUrlShape
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.