pub struct LinkRules {
pub scheme: String,
pub hosts: Vec<String>,
pub prefixes: Vec<String>,
}Fields§
§scheme: StringThe product’s scheme, lowercase (verikora).
hosts: Vec<String>The product’s web hosts whose links open the app (www.verikora.com, dev.verikora.com).
prefixes: Vec<String>The routes a link may open (/app, /verify); empty means every route.
Trait Implementations§
impl Eq for LinkRules
impl StructuralPartialEq for LinkRules
Auto Trait Implementations§
impl Freeze for LinkRules
impl RefUnwindSafe for LinkRules
impl Send for LinkRules
impl Sync for LinkRules
impl Unpin for LinkRules
impl UnsafeUnpin for LinkRules
impl UnwindSafe for LinkRules
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