pub enum SubscriptionType {
Tiles {
bbox: [i64; 4],
zoom_range: Range<u8>,
},
Features {
layer: Option<String>,
},
Events {
event_types: HashSet<EventType>,
},
}Expand description
Subscription type.
Variants§
Tiles
Tile subscription with bbox and zoom range
Fields
Features
Feature subscription with filters
Events
Event subscription
Trait Implementations§
Source§impl Clone for SubscriptionType
impl Clone for SubscriptionType
Source§fn clone(&self) -> SubscriptionType
fn clone(&self) -> SubscriptionType
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 SubscriptionType
impl Debug for SubscriptionType
Source§impl PartialEq for SubscriptionType
impl PartialEq for SubscriptionType
impl Eq for SubscriptionType
impl StructuralPartialEq for SubscriptionType
Auto Trait Implementations§
impl Freeze for SubscriptionType
impl RefUnwindSafe for SubscriptionType
impl Send for SubscriptionType
impl Sync for SubscriptionType
impl Unpin for SubscriptionType
impl UnsafeUnpin for SubscriptionType
impl UnwindSafe for SubscriptionType
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