#[repr(C)]pub struct PGoauthBearerRequest {
pub openid_configuration: *const c_char,
pub scope: *const c_char,
pub async_: Option<unsafe extern "C" fn(conn: *mut PGconn, request: *mut PGoauthBearerRequest, altsock: *mut c_int) -> PostgresPollingStatusType>,
pub cleanup: Option<unsafe extern "C" fn(conn: *mut PGconn, request: *mut PGoauthBearerRequest)>,
pub token: *mut c_char,
pub user: *mut c_void,
}Fields§
§openid_configuration: *const c_char§scope: *const c_char§async_: Option<unsafe extern "C" fn(conn: *mut PGconn, request: *mut PGoauthBearerRequest, altsock: *mut c_int) -> PostgresPollingStatusType>§cleanup: Option<unsafe extern "C" fn(conn: *mut PGconn, request: *mut PGoauthBearerRequest)>§token: *mut c_char§user: *mut c_voidTrait Implementations§
Source§impl Clone for PGoauthBearerRequest
impl Clone for PGoauthBearerRequest
Source§fn clone(&self) -> PGoauthBearerRequest
fn clone(&self) -> PGoauthBearerRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 PGoauthBearerRequest
impl Debug for PGoauthBearerRequest
impl Copy for PGoauthBearerRequest
Auto Trait Implementations§
impl Freeze for PGoauthBearerRequest
impl RefUnwindSafe for PGoauthBearerRequest
impl !Send for PGoauthBearerRequest
impl !Sync for PGoauthBearerRequest
impl Unpin for PGoauthBearerRequest
impl UnwindSafe for PGoauthBearerRequest
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