pub struct OpenRouterRequestSpec {
pub method: HttpMethod,
pub origin: String,
pub path: String,
pub content_type: &'static str,
pub accept: &'static str,
pub bearer_secret: OpenRouterSecretReferenceMarker,
pub network: NetworkPolicy,
/* private fields */
}Fields§
§method: HttpMethod§origin: String§path: String§content_type: &'static str§accept: &'static str§bearer_secret: OpenRouterSecretReferenceMarker§network: NetworkPolicyImplementations§
Trait Implementations§
Source§impl Clone for OpenRouterRequestSpec
impl Clone for OpenRouterRequestSpec
Source§impl Debug for OpenRouterRequestSpec
impl Debug for OpenRouterRequestSpec
Source§impl PartialEq for OpenRouterRequestSpec
impl PartialEq for OpenRouterRequestSpec
impl StructuralPartialEq for OpenRouterRequestSpec
Auto Trait Implementations§
impl Freeze for OpenRouterRequestSpec
impl RefUnwindSafe for OpenRouterRequestSpec
impl Send for OpenRouterRequestSpec
impl Sync for OpenRouterRequestSpec
impl Unpin for OpenRouterRequestSpec
impl UnsafeUnpin for OpenRouterRequestSpec
impl UnwindSafe for OpenRouterRequestSpec
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