pub fn endpoint(ticket: &str, location_uri: impl Into<String>) -> FlightEndpoint
Create a FlightEndpoint with a ticket and location