Enum googapis::google::appengine::v1beta::LoginRequirement [−][src]
#[repr(i32)]
pub enum LoginRequirement {
LoginUnspecified,
LoginOptional,
LoginAdmin,
LoginRequired,
}
Expand description
Methods to restrict access to a URL based on login status.
Variants
Not specified. LOGIN_OPTIONAL
is assumed.
Does not require that the user is signed in.
If the user is not signed in, the auth_fail_action
is taken.
In addition, if the user is not an administrator for the
application, they are given an error message regardless of
auth_fail_action
. If the user is an administrator, the handler
proceeds.
If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for LoginRequirement
impl Send for LoginRequirement
impl Sync for LoginRequirement
impl Unpin for LoginRequirement
impl UnwindSafe for LoginRequirement
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more