pub struct Request(/* private fields */);Expand description
See _cef_request_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_request_t> for &Request
impl ConvertParam<*mut _cef_request_t> for &Request
fn into_raw(self) -> *mut _cef_request_t
Source§impl ConvertParam<*mut _cef_request_t> for &mut Request
impl ConvertParam<*mut _cef_request_t> for &mut Request
fn into_raw(self) -> *mut _cef_request_t
Source§impl ConvertReturnValue<Request> for *mut _cef_request_t
impl ConvertReturnValue<Request> for *mut _cef_request_t
fn wrap_result(self) -> Request
Source§impl ImplRequest for Request
impl ImplRequest for Request
Source§fn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See
_cef_request_t::is_read_only for more documentation.Source§fn url(&self) -> CefStringUserfree
fn url(&self) -> CefStringUserfree
See
_cef_request_t::get_url for more documentation.Source§fn set_url(&self, url: Option<&CefString>)
fn set_url(&self, url: Option<&CefString>)
See
_cef_request_t::set_url for more documentation.Source§fn method(&self) -> CefStringUserfree
fn method(&self) -> CefStringUserfree
See
_cef_request_t::get_method for more documentation.Source§fn set_method(&self, method: Option<&CefString>)
fn set_method(&self, method: Option<&CefString>)
See
_cef_request_t::set_method for more documentation.Source§fn set_referrer(&self, referrer_url: Option<&CefString>, policy: ReferrerPolicy)
fn set_referrer(&self, referrer_url: Option<&CefString>, policy: ReferrerPolicy)
See
_cef_request_t::set_referrer for more documentation.Source§fn referrer_url(&self) -> CefStringUserfree
fn referrer_url(&self) -> CefStringUserfree
See
_cef_request_t::get_referrer_url for more documentation.Source§fn referrer_policy(&self) -> ReferrerPolicy
fn referrer_policy(&self) -> ReferrerPolicy
See
_cef_request_t::get_referrer_policy for more documentation.Source§fn post_data(&self) -> Option<PostData>
fn post_data(&self) -> Option<PostData>
See
_cef_request_t::get_post_data for more documentation.Source§fn set_post_data(&self, post_data: Option<&mut PostData>)
fn set_post_data(&self, post_data: Option<&mut PostData>)
See
_cef_request_t::set_post_data for more documentation.Source§fn header_map(&self, header_map: Option<&mut CefStringMultimap>)
fn header_map(&self, header_map: Option<&mut CefStringMultimap>)
See
_cef_request_t::get_header_map for more documentation.Source§fn set_header_map(&self, header_map: Option<&mut CefStringMultimap>)
fn set_header_map(&self, header_map: Option<&mut CefStringMultimap>)
See
_cef_request_t::set_header_map for more documentation.Source§fn header_by_name(&self, name: Option<&CefString>) -> CefStringUserfree
fn header_by_name(&self, name: Option<&CefString>) -> CefStringUserfree
See
_cef_request_t::get_header_by_name for more documentation.Source§fn set_header_by_name(
&self,
name: Option<&CefString>,
value: Option<&CefString>,
overwrite: c_int,
)
fn set_header_by_name( &self, name: Option<&CefString>, value: Option<&CefString>, overwrite: c_int, )
See
_cef_request_t::set_header_by_name for more documentation.Source§fn set(
&self,
url: Option<&CefString>,
method: Option<&CefString>,
post_data: Option<&mut PostData>,
header_map: Option<&mut CefStringMultimap>,
)
fn set( &self, url: Option<&CefString>, method: Option<&CefString>, post_data: Option<&mut PostData>, header_map: Option<&mut CefStringMultimap>, )
See
_cef_request_t::set for more documentation.Source§fn flags(&self) -> c_int
fn flags(&self) -> c_int
See
_cef_request_t::get_flags for more documentation.Source§fn set_flags(&self, flags: c_int)
fn set_flags(&self, flags: c_int)
See
_cef_request_t::set_flags for more documentation.See
_cef_request_t::get_first_party_for_cookies for more documentation.See
_cef_request_t::set_first_party_for_cookies for more documentation.Source§fn resource_type(&self) -> ResourceType
fn resource_type(&self) -> ResourceType
See
_cef_request_t::get_resource_type for more documentation.Source§fn transition_type(&self) -> TransitionType
fn transition_type(&self) -> TransitionType
See
_cef_request_t::get_transition_type for more documentation.Source§fn identifier(&self) -> u64
fn identifier(&self) -> u64
See
_cef_request_t::get_identifier for more documentation.fn get_raw(&self) -> *mut _cef_request_t
Source§impl Rc for Request
impl Rc for Request
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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