pub fn origin(&self) -> Option<&Origin> {
        match self.0 {
            OriginOrAny::Origin(ref origin) => Some(origin),
            _ => None
        }
    }
/// Returns the origin if there's one specified.
Returns the origin if there's one specified.
Returns the origin if there ' s one specified .
pub fn origin(&self) -> Option<&Origin> {
        match self.0 {
            OriginOrAny::Origin(ref origin) => Some(origin),
            _ => None
        }
    }
pub fn origin ( & self ) -> Option < & Origin > { match self . 0 { OriginOrAny :: Origin ( ref origin ) => Some ( origin ) , _ => None } }
Returns the origin if there's one specified.
Returns the origin if there ' s one specified .
&self
&self