pub struct ServerValidation {
pub valid: bool,
pub reason: Option<String>,
}Expand description
Outcome of validating a server URI against the allowlist.
Fields§
§valid: bool§reason: Option<String>Trait Implementations§
Source§impl Clone for ServerValidation
impl Clone for ServerValidation
Source§fn clone(&self) -> ServerValidation
fn clone(&self) -> ServerValidation
Returns a duplicate of the value. Read more
1.0.0 · 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 ServerValidation
impl RefUnwindSafe for ServerValidation
impl Send for ServerValidation
impl Sync for ServerValidation
impl Unpin for ServerValidation
impl UnsafeUnpin for ServerValidation
impl UnwindSafe for ServerValidation
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