#[non_exhaustive]pub struct RouteAuthorizeResponse {
pub outcome: RouteAuthorizeOutcome,
pub content_version: Option<String>,
pub route_open_code: Option<String>,
pub message: String,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.outcome: RouteAuthorizeOutcome§content_version: Option<String>§route_open_code: Option<String>§message: StringImplementations§
Source§impl RouteAuthorizeResponse
impl RouteAuthorizeResponse
pub fn new(outcome: RouteAuthorizeOutcome, message: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for RouteAuthorizeResponse
impl Clone for RouteAuthorizeResponse
Source§impl Debug for RouteAuthorizeResponse
impl Debug for RouteAuthorizeResponse
Source§impl<'de> Deserialize<'de> for RouteAuthorizeResponse
impl<'de> Deserialize<'de> for RouteAuthorizeResponse
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
impl Eq for RouteAuthorizeResponse
Source§impl PartialEq for RouteAuthorizeResponse
impl PartialEq for RouteAuthorizeResponse
Source§impl Serialize for RouteAuthorizeResponse
impl Serialize for RouteAuthorizeResponse
impl StructuralPartialEq for RouteAuthorizeResponse
Auto Trait Implementations§
impl Forget for RouteAuthorizeResponse
impl Freeze for RouteAuthorizeResponse
impl Move for RouteAuthorizeResponse
impl RefUnwindSafe for RouteAuthorizeResponse
impl Send for RouteAuthorizeResponse
impl Sync for RouteAuthorizeResponse
impl Unpin for RouteAuthorizeResponse
impl UnsafeUnpin for RouteAuthorizeResponse
impl UnwindSafe for RouteAuthorizeResponse
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