pub fn from(mut self, from: impl Into<Ref>) -> Self {
        if self.from.is_some() {
            panic!("from is already set for this route");
        }
        self.from = Some(from.into());
        self
    }
/// Adds a source to this route. Must be called exactly once. Will panic if called a second
/// time.
Adds a source to this route. Must be called exactly once. Will panic if called a second
time.
Adds a source to this route . Must be called exactly once . Will panic if called a second time .
pub fn from(mut self, from: impl Into<Ref>) -> Self {
        if self.from.is_some() {
            panic!("from is already set for this route");
        }
        self.from = Some(from.into());
        self
    }
pub fn from ( mut self , from : impl Into < Ref > ) -> Self { if self . from . is_some ( ) { panic ! ( " " ) ; } self . from = Some ( from . into ( ) ) ; self }
Adds a source to this route.
Adds a source to this route .
mut self
from
impl Into<Ref>
mut self
from
impl Into<Ref>