pub struct GetSnapshotContent {}
Expand description
Serialized arguments for the get_snapshot_content
server function.
Get the latest snapshot content if any
Trait Implementations§
Source§impl Clone for GetSnapshotContent
impl Clone for GetSnapshotContent
Source§fn clone(&self) -> GetSnapshotContent
fn clone(&self) -> GetSnapshotContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetSnapshotContent
impl Debug for GetSnapshotContent
Source§impl<'de> Deserialize<'de> for GetSnapshotContent
impl<'de> Deserialize<'de> for GetSnapshotContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GetSnapshotContent
impl Serialize for GetSnapshotContent
Source§impl ServerFn for GetSnapshotContent
impl ServerFn for GetSnapshotContent
Source§const PATH: &'static str
const PATH: &'static str
A unique path for the server function’s API endpoint, relative to the host, including its prefix.
Source§type Client = BrowserClient
type Client = BrowserClient
The type of the HTTP client that will send the request from the client side. Read more
Source§type ServerRequest = Request<Body>
type ServerRequest = Request<Body>
The type of the HTTP request when received by the server function on the server side.
Source§type ServerResponse = Response<Body>
type ServerResponse = Response<Body>
The type of the HTTP response returned by the server function on the server side.
Source§type InputEncoding = PostUrl
type InputEncoding = PostUrl
The [
Encoding
] used in the request for arguments into the server function.Source§type OutputEncoding = Json
type OutputEncoding = Json
The [
Encoding
] used in the response for the result of the server function.Source§type Error = NoCustomError
type Error = NoCustomError
The type of the custom error on [
ServerFnError
], if any. (If there is no
custom error type, this can be NoCustomError
by default.)Source§fn middlewares() -> Vec<Arc<dyn Layer<Request<Body>, Response<Body>>>>
fn middlewares() -> Vec<Arc<dyn Layer<Request<Body>, Response<Body>>>>
Middleware that should be applied to this server function.
Auto Trait Implementations§
impl Freeze for GetSnapshotContent
impl RefUnwindSafe for GetSnapshotContent
impl Send for GetSnapshotContent
impl Sync for GetSnapshotContent
impl Unpin for GetSnapshotContent
impl UnwindSafe for GetSnapshotContent
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<CustErr, T, Request> FromReq<GetUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
impl<CustErr, T, Request> FromReq<GetUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
§impl<CustErr, T, Request> FromReq<Json, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
impl<CustErr, T, Request> FromReq<Json, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
§impl<CustErr, T, Request> FromReq<PostUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
impl<CustErr, T, Request> FromReq<PostUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
§impl<CustErr, T, Response> FromRes<Json, Response, CustErr> for T
impl<CustErr, T, Response> FromRes<Json, Response, CustErr> for T
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§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<CustErr, T, Request> IntoReq<GetUrl, Request, CustErr> for T
impl<CustErr, T, Request> IntoReq<GetUrl, Request, CustErr> for T
§impl<CustErr, T, Request> IntoReq<Json, Request, CustErr> for T
impl<CustErr, T, Request> IntoReq<Json, Request, CustErr> for T
§impl<CustErr, T, Request> IntoReq<PostUrl, Request, CustErr> for T
impl<CustErr, T, Request> IntoReq<PostUrl, Request, CustErr> for T
§impl<CustErr, T, Response> IntoRes<Json, Response, CustErr> for T
impl<CustErr, T, Response> IntoRes<Json, Response, CustErr> for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.