pub struct StalkerCredentials {
pub base_url: String,
pub mac_address: String,
pub timezone: Option<String>,
}Expand description
Credentials required to connect to a Stalker portal.
Fields§
§base_url: StringBase URL of the portal (e.g. http://portal.example.com).
mac_address: StringMAC address in XX:XX:XX:XX:XX:XX format.
timezone: Option<String>Timezone for cookie header (e.g. Europe/Paris).
Defaults to Europe/Paris if None.
Trait Implementations§
Source§impl Clone for StalkerCredentials
impl Clone for StalkerCredentials
Source§fn clone(&self) -> StalkerCredentials
fn clone(&self) -> StalkerCredentials
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 moreSource§impl Debug for StalkerCredentials
impl Debug for StalkerCredentials
Source§impl<'de> Deserialize<'de> for StalkerCredentials
impl<'de> Deserialize<'de> for StalkerCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StalkerCredentials
impl RefUnwindSafe for StalkerCredentials
impl Send for StalkerCredentials
impl Sync for StalkerCredentials
impl Unpin for StalkerCredentials
impl UnsafeUnpin for StalkerCredentials
impl UnwindSafe for StalkerCredentials
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