pub struct Response {
pub sid: OwnedSessionId,
pub submit_url: Option<String>,
}
Available on crate features
client
or server
only.Expand description
Response type for the request_3pid_management_token_via_email
endpoint.
Fields§
§sid: OwnedSessionId
The session identifier given by the identity server.
submit_url: Option<String>
URL to submit validation token to.
If omitted, verification happens without client.
If you activate the compat-empty-string-null
feature, this field being an empty
string in JSON will result in None
here during deserialization.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)