pub struct SoftBindingFetchRequest<'a> {
pub method: SoftBindingHttpMethod,
pub url: &'a str,
pub content_type: Option<&'a str>,
pub accept: &'static str,
pub body: Option<&'a [u8]>,
pub max_response_bytes: usize,
}Expand description
One bounded read-only request emitted by SoftBindingResolverSession.
Fields§
§method: SoftBindingHttpMethod§url: &'a str§content_type: Option<&'a str>§accept: &'static str§body: Option<&'a [u8]>§max_response_bytes: usizeAuto Trait Implementations§
impl<'a> Freeze for SoftBindingFetchRequest<'a>
impl<'a> RefUnwindSafe for SoftBindingFetchRequest<'a>
impl<'a> Send for SoftBindingFetchRequest<'a>
impl<'a> Sync for SoftBindingFetchRequest<'a>
impl<'a> Unpin for SoftBindingFetchRequest<'a>
impl<'a> UnsafeUnpin for SoftBindingFetchRequest<'a>
impl<'a> UnwindSafe for SoftBindingFetchRequest<'a>
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