pub struct RefundTransactionServer {
pub name: String,
pub lamport_time: i64,
pub transac_node: String,
}
Expand description
Serialized arguments for the refund_transaction_server
server function.
Fields§
§name: String
§lamport_time: i64
§transac_node: String
Trait Implementations§
Source§impl Clone for RefundTransactionServer
impl Clone for RefundTransactionServer
Source§fn clone(&self) -> RefundTransactionServer
fn clone(&self) -> RefundTransactionServer
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 RefundTransactionServer
impl Debug for RefundTransactionServer
Source§impl<'de> Deserialize<'de> for RefundTransactionServer
impl<'de> Deserialize<'de> for RefundTransactionServer
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 RefundTransactionServer
impl Serialize for RefundTransactionServer
Source§impl ServerFn for RefundTransactionServer
impl ServerFn for RefundTransactionServer
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 RefundTransactionServer
impl RefUnwindSafe for RefundTransactionServer
impl Send for RefundTransactionServer
impl Sync for RefundTransactionServer
impl Unpin for RefundTransactionServer
impl UnwindSafe for RefundTransactionServer
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.