pub struct GetSpaceInformation {}Expand description
Serialized arguments for the get_space_information server function.
Trait Implementations§
Source§impl Clone for GetSpaceInformation
impl Clone for GetSpaceInformation
Source§fn clone(&self) -> GetSpaceInformation
fn clone(&self) -> GetSpaceInformation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetSpaceInformation
impl Debug for GetSpaceInformation
Source§impl<'de> Deserialize<'de> for GetSpaceInformation
impl<'de> Deserialize<'de> for GetSpaceInformation
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 GetSpaceInformation
impl Serialize for GetSpaceInformation
Source§impl ServerFn for GetSpaceInformation
impl ServerFn for GetSpaceInformation
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 Server = BrowserMockServer
type Server = BrowserMockServer
The type of the HTTP server that will send the response from the server side. Read more
Source§type Protocol = Http<PostUrl, Post<JsonEncoding>>
type Protocol = Http<PostUrl, Post<JsonEncoding>>
The protocol the server function uses to communicate with the client.
Source§type Error = ServerFnError
type Error = ServerFnError
The type of error in the server function return.
Typically
ServerFnError, but allowed to be any type that implements FromServerFnError.Source§type InputStreamError = ServerFnError
type InputStreamError = ServerFnError
The type of error in the server function for stream items sent from the client to the server.
Typically
ServerFnError, but allowed to be any type that implements FromServerFnError.Source§type OutputStreamError = ServerFnError
type OutputStreamError = ServerFnError
The type of error in the server function for stream items sent from the server to the client.
Typically
ServerFnError, but allowed to be any type that implements FromServerFnError.Source§fn middlewares() -> Vec<Arc<dyn Layer<<Self::Server as Server<Self::Error>>::Request, <Self::Server as Server<Self::Error>>::Response>>>
fn middlewares() -> Vec<Arc<dyn Layer<<Self::Server as Server<Self::Error>>::Request, <Self::Server as Server<Self::Error>>::Response>>>
Middleware that should be applied to this server function.
Source§async fn run_body(self) -> Result<String, ServerFnError>
async fn run_body(self) -> Result<String, ServerFnError>
The body of the server function. This will only run on the server.
Source§fn url() -> &'static str
fn url() -> &'static str
Returns
Self::PATH.Auto Trait Implementations§
impl Freeze for GetSpaceInformation
impl RefUnwindSafe for GetSpaceInformation
impl Send for GetSpaceInformation
impl Sync for GetSpaceInformation
impl Unpin for GetSpaceInformation
impl UnsafeUnpin for GetSpaceInformation
impl UnwindSafe for GetSpaceInformation
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,
Source§impl<T> FromFormData for Twhere
T: DeserializeOwned,
impl<T> FromFormData for Twhere
T: DeserializeOwned,
Source§fn from_event(ev: &Event) -> Result<T, FromFormDataError>
fn from_event(ev: &Event) -> Result<T, FromFormDataError>
Tries to deserialize the data, given only the
submit event.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.