[][src]Struct tremor_script::EventOriginUri

pub struct EventOriginUri {
    pub scheme: String,
    pub host: String,
    pub port: Option<u16>,
    pub path: Vec<String>,
}

Event origin URI

Fields

scheme: String

schema part

host: String

host part

port: Option<u16>

port part

path: Vec<String>

path part

Methods

impl EventOriginUri[src]

pub fn parse(url: &str) -> Result<Self>[src]

parses a string into a URI

pub fn scheme(&self) -> &str[src]

return the schema

pub fn host(&self) -> &str[src]

return the host

pub fn port(&self) -> Option<u16>[src]

return the port

pub fn path(&self) -> &[String][src]

return the path

pub fn host_port(&self) -> String[src]

Format as host and port

Trait Implementations

impl Clone for EventOriginUri[src]

impl Debug for EventOriginUri[src]

impl Default for EventOriginUri[src]

impl<'de> Deserialize<'de> for EventOriginUri[src]

impl Display for EventOriginUri[src]

impl Eq for EventOriginUri[src]

impl Hash for EventOriginUri[src]

impl PartialEq<EventOriginUri> for EventOriginUri[src]

impl Serialize for EventOriginUri[src]

impl StructuralEq for EventOriginUri[src]

impl StructuralPartialEq for EventOriginUri[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,