pub struct SessionCreateResponse<T> {
pub entity: T,
pub auth_token: String,
pub location: ODataId,
}Expand description
Redfish session creation returns the session resource in the response body,
the authentication token in the X-Auth-Token header, and the session URI in
the Location header.
Fields§
§entity: TCreated session entity.
auth_token: StringAuthentication token from X-Auth-Token.
location: ODataIdSession resource URI from Location.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SessionCreateResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for SessionCreateResponse<T>where
T: RefUnwindSafe,
impl<T> Send for SessionCreateResponse<T>where
T: Send,
impl<T> Sync for SessionCreateResponse<T>where
T: Sync,
impl<T> Unpin for SessionCreateResponse<T>where
T: Unpin,
impl<T> UnsafeUnpin for SessionCreateResponse<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SessionCreateResponse<T>where
T: UnwindSafe,
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