pub enum URLOverride<'a> {
Normal(URLMessage<'a>),
AppleMusic(MusicMessage<'a>),
AppStore(AppStoreMessage<'a>),
Collaboration(CollaborationMessage<'a>),
SharedPlacemark(PlacemarkMessage<'a>),
}Expand description
Specialized payload carried by a URL balloon.
Apple reuses com.apple.messages.URLBalloonProvider for link previews and a
few richer payloads. This enum stores the parsed result.
Variants§
Normal(URLMessage<'a>)
Standard URL preview.
AppleMusic(MusicMessage<'a>)
Apple Music message.
AppStore(AppStoreMessage<'a>)
App Store message.
Collaboration(CollaborationMessage<'a>)
Collaboration message.
Placemark message.
Trait Implementations§
Source§impl<'a> Debug for URLOverride<'a>
impl<'a> Debug for URLOverride<'a>
Source§impl<'a> PartialEq for URLOverride<'a>
impl<'a> PartialEq for URLOverride<'a>
Source§fn eq(&self, other: &URLOverride<'a>) -> bool
fn eq(&self, other: &URLOverride<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for URLOverride<'a>
Auto Trait Implementations§
impl<'a> Freeze for URLOverride<'a>
impl<'a> RefUnwindSafe for URLOverride<'a>
impl<'a> Send for URLOverride<'a>
impl<'a> Sync for URLOverride<'a>
impl<'a> Unpin for URLOverride<'a>
impl<'a> UnsafeUnpin for URLOverride<'a>
impl<'a> UnwindSafe for URLOverride<'a>
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