pub enum RequestType<'a> {
Delete,
Get,
Patch(Option<&'a dyn Serialize>),
Post(Option<&'a dyn Serialize>),
Put(Option<&'a dyn Serialize>),
}
Expand description
Enum representing the different requests that can be sent to the LCU
Variants§
Delete
Get
Patch(Option<&'a dyn Serialize>)
Post(Option<&'a dyn Serialize>)
Put(Option<&'a dyn Serialize>)
Auto Trait Implementations§
impl<'a> Freeze for RequestType<'a>
impl<'a> !RefUnwindSafe for RequestType<'a>
impl<'a> !Send for RequestType<'a>
impl<'a> !Sync for RequestType<'a>
impl<'a> Unpin for RequestType<'a>
impl<'a> !UnwindSafe for RequestType<'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