#[non_exhaustive]pub struct IntentFilter {
pub actions: Vec<String>,
pub categories: Vec<String>,
pub data: Vec<DataSpec>,
}Expand description
An <intent-filter>.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.actions: Vec<String><action> names.
categories: Vec<String><category> names.
data: Vec<DataSpec><data> elements.
Implementations§
Source§impl IntentFilter
impl IntentFilter
Sourcepub fn deep_links(&self) -> Vec<String>
pub fn deep_links(&self) -> Vec<String>
Deep link URL patterns of a VIEW filter: every scheme combined with
every host and path, as Android matches them (* for absent parts).
Trait Implementations§
Source§impl Clone for IntentFilter
impl Clone for IntentFilter
Source§impl Debug for IntentFilter
impl Debug for IntentFilter
Source§impl Default for IntentFilter
impl Default for IntentFilter
Source§impl PartialEq for IntentFilter
impl PartialEq for IntentFilter
impl StructuralPartialEq for IntentFilter
Auto Trait Implementations§
impl Forget for IntentFilter
impl Freeze for IntentFilter
impl Move for IntentFilter
impl RefUnwindSafe for IntentFilter
impl Send for IntentFilter
impl Sync for IntentFilter
impl Unpin for IntentFilter
impl UnsafeUnpin for IntentFilter
impl UnwindSafe for IntentFilter
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