pub struct RelayState(/* private fields */);Expand description
RelayState value when a browser message carries the parameter.
Implementations§
Source§impl RelayState
impl RelayState
Sourcepub fn try_new(value: impl Into<String>) -> Result<Self, SamlError>
pub fn try_new(value: impl Into<String>) -> Result<Self, SamlError>
Wrap a RelayState value after enforcing the SAML Bindings byte limit.
Explicit empty RelayState is allowed so callers can preserve browser parameter presence separately from absence.
§Errors
Returns SamlError::Invalid when the UTF-8 byte length exceeds
MAX_RELAY_STATE_BYTES.
Trait Implementations§
Source§impl Clone for RelayState
impl Clone for RelayState
Source§fn clone(&self) -> RelayState
fn clone(&self) -> RelayState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RelayState
impl Debug for RelayState
impl Eq for RelayState
Source§impl Hash for RelayState
impl Hash for RelayState
Source§impl PartialEq for RelayState
impl PartialEq for RelayState
impl StructuralPartialEq for RelayState
Auto Trait Implementations§
impl Freeze for RelayState
impl RefUnwindSafe for RelayState
impl Send for RelayState
impl Sync for RelayState
impl Unpin for RelayState
impl UnsafeUnpin for RelayState
impl UnwindSafe for RelayState
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