pub struct DeepLinksCapability {
pub schemes: Vec<String>,
pub allowed_hosts: Vec<String>,
pub allowed_actions: Vec<String>,
}Expand description
Deep-link configuration and input allowlists.
Fields§
§schemes: Vec<String>Custom URL schemes accepted by the application.
allowed_hosts: Vec<String>Hosts accepted by typed parsing helpers.
allowed_actions: Vec<String>First path segments accepted as actions.
Trait Implementations§
Source§impl Clone for DeepLinksCapability
impl Clone for DeepLinksCapability
Source§impl Debug for DeepLinksCapability
impl Debug for DeepLinksCapability
Source§impl Default for DeepLinksCapability
impl Default for DeepLinksCapability
Source§impl<'de> Deserialize<'de> for DeepLinksCapabilitywhere
DeepLinksCapability: Default,
impl<'de> Deserialize<'de> for DeepLinksCapabilitywhere
DeepLinksCapability: Default,
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 JsonSchema for DeepLinksCapability
impl JsonSchema for DeepLinksCapability
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DeepLinksCapability
impl PartialEq for DeepLinksCapability
Source§impl Serialize for DeepLinksCapability
impl Serialize for DeepLinksCapability
impl StructuralPartialEq for DeepLinksCapability
Auto Trait Implementations§
impl Freeze for DeepLinksCapability
impl RefUnwindSafe for DeepLinksCapability
impl Send for DeepLinksCapability
impl Sync for DeepLinksCapability
impl Unpin for DeepLinksCapability
impl UnsafeUnpin for DeepLinksCapability
impl UnwindSafe for DeepLinksCapability
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