pub struct PlatformConfig {
pub gateway_command: &'static [&'static str],
pub gateway_regex: &'static str,
pub gateway_endpoints: &'static [&'static str],
}Fields§
§gateway_command: &'static [&'static str]§gateway_regex: &'static str§gateway_endpoints: &'static [&'static str]Implementations§
Source§impl PlatformConfig
impl PlatformConfig
pub fn for_platform(platform: &Platform) -> Result<Self, ReauthfiError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlatformConfig
impl RefUnwindSafe for PlatformConfig
impl Send for PlatformConfig
impl Sync for PlatformConfig
impl Unpin for PlatformConfig
impl UnsafeUnpin for PlatformConfig
impl UnwindSafe for PlatformConfig
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