pub enum WebDavRequirements {
MfaEnforced,
UseCode,
}
Variants§
MfaEnforced
mfa-enforced
requires the user accessing the resource to be
MFA-authenticated. This requirement MAY be used if the
recipient provider exposes the enforce-mfa
capability.
UseCode
use-code
requires the recipient to exchange the given
code
via a signed HTTPS request to /token
at the Sending
Server, in order to get a short-lived token to be used for
subsequent access. This requirement MAY be used if the
recipient provider exposes the receive-code
capability.
Trait Implementations§
Source§impl Clone for WebDavRequirements
impl Clone for WebDavRequirements
Source§fn clone(&self) -> WebDavRequirements
fn clone(&self) -> WebDavRequirements
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 WebDavRequirements
impl Debug for WebDavRequirements
Source§impl<'de> Deserialize<'de> for WebDavRequirements
impl<'de> Deserialize<'de> for WebDavRequirements
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
Source§impl PartialEq for WebDavRequirements
impl PartialEq for WebDavRequirements
Source§impl Serialize for WebDavRequirements
impl Serialize for WebDavRequirements
impl Eq for WebDavRequirements
impl StructuralPartialEq for WebDavRequirements
Auto Trait Implementations§
impl Freeze for WebDavRequirements
impl RefUnwindSafe for WebDavRequirements
impl Send for WebDavRequirements
impl Sync for WebDavRequirements
impl Unpin for WebDavRequirements
impl UnwindSafe for WebDavRequirements
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