pub struct AddMod<'a> { /* private fields */ }Expand description
Add a mod.
Implementations§
Source§impl<'a> AddMod<'a>
impl<'a> AddMod<'a>
pub const fn name_id(self, name_id: &'a str) -> Self
pub const fn description(self, description: &'a str) -> Self
pub const fn homepage_url(self, homepage_url: &'a str) -> Self
pub const fn stock(self, stock: u32) -> Self
pub const fn maturity_option(self, option: MaturityOption) -> Self
pub const fn community_options(self, options: CommunityOptions) -> Self
pub const fn credit_options(self, options: CreditOptions) -> Self
pub const fn metadata_blob(self, metadata: &'a str) -> Self
pub const fn visible(self, visible: bool) -> Self
Trait Implementations§
Source§impl IntoFuture for AddMod<'_>
impl IntoFuture for AddMod<'_>
Source§type Output = Result<Response<Mod>, Error>
type Output = Result<Response<Mod>, Error>
The output that the future will produce on completion.
Source§type IntoFuture = ResponseFuture<Mod>
type IntoFuture = ResponseFuture<Mod>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> !Freeze for AddMod<'a>
impl<'a> !RefUnwindSafe for AddMod<'a>
impl<'a> Send for AddMod<'a>
impl<'a> Sync for AddMod<'a>
impl<'a> Unpin for AddMod<'a>
impl<'a> !UnwindSafe for AddMod<'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
Source§impl<Builder, Data> DataFromRequest<Data> for Builderwhere
Builder: IntoFuture<IntoFuture = ResponseFuture<Data>> + Sealed,
Data: DeserializeOwned + Unpin,
impl<Builder, Data> DataFromRequest<Data> for Builderwhere
Builder: IntoFuture<IntoFuture = ResponseFuture<Data>> + Sealed,
Data: DeserializeOwned + Unpin,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn compression(self) -> Compression<Self>where
Self: Sized,
fn compression(self) -> Compression<Self>where
Self: Sized,
Compresses response bodies. Read more
§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
Decompress response bodies. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more