pub struct TransportInfo {
pub transport_type: TransportType,
pub normalized_path: String,
pub is_allowed: bool,
}Expand description
Information about a validated transport
Fields§
§transport_type: TransportTypeThe detected transport type
normalized_path: StringNormalized path (expanded variables, etc.)
is_allowed: boolWhether this transport is allowed
Trait Implementations§
Source§impl Clone for TransportInfo
impl Clone for TransportInfo
Source§fn clone(&self) -> TransportInfo
fn clone(&self) -> TransportInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransportInfo
impl RefUnwindSafe for TransportInfo
impl Send for TransportInfo
impl Sync for TransportInfo
impl Unpin for TransportInfo
impl UnsafeUnpin for TransportInfo
impl UnwindSafe for TransportInfo
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