pub struct AWSAuth {
pub role: Option<AWSRole>,
pub creds: Option<AWSCredentials>,
}
Fields§
§role: Option<AWSRole>
A role for ngrok to assume on your behalf to deposit events into your AWS account.
creds: Option<AWSCredentials>
Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AWSAuth
impl<'de> Deserialize<'de> for AWSAuth
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 AWSAuth
impl RefUnwindSafe for AWSAuth
impl Send for AWSAuth
impl Sync for AWSAuth
impl Unpin for AWSAuth
impl UnwindSafe for AWSAuth
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