pub enum FloraServiceRequest {
Ping {},
AddRecord {
record_params: RecordParams,
},
AddManyRecords {
records: Vec<RecordParams>,
},
Count {},
GetRecords {
record_ids: RecordIds,
},
GetAllRecords {},
GetAllRecordsMeta {},
DeleteRecord {
record_id: RecordId,
},
Search {
search_params: SearchParametersWrapper,
},
Version {},
}Expand description
The request sent over the wire from the client to the server.
Variants§
Ping
AddRecord
Fields
§
record_params: RecordParamsAddManyRecords
Fields
§
records: Vec<RecordParams>Count
GetRecords
GetAllRecords
GetAllRecordsMeta
DeleteRecord
Search
Fields
§
search_params: SearchParametersWrapperVersion
Trait Implementations§
Source§impl Debug for FloraServiceRequest
impl Debug for FloraServiceRequest
Source§impl<'de> Deserialize<'de> for FloraServiceRequest
impl<'de> Deserialize<'de> for FloraServiceRequest
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 RequestName for FloraServiceRequest
impl RequestName for FloraServiceRequest
Auto Trait Implementations§
impl Freeze for FloraServiceRequest
impl RefUnwindSafe for FloraServiceRequest
impl Send for FloraServiceRequest
impl Sync for FloraServiceRequest
impl Unpin for FloraServiceRequest
impl UnwindSafe for FloraServiceRequest
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<'de, T> Marshal<'de> for Twhere
T: Serialize + Deserialize<'de>,
impl<'de, T> Marshal<'de> for Twhere
T: Serialize + Deserialize<'de>,
Source§const BINCODE_CONFIG: Configuration = _
const BINCODE_CONFIG: Configuration = _
Bincode configuration that preserves compatibility with bincode 1.3.x
(used by tokio-serde, in turn used by current version of tarpc).
see https://docs.rs/bincode/latest/bincode/migration_guide/index.html#from-options-to-configuration
Source§fn to_byte_vec(&self) -> Result<Vec<u8>, MarshalError>
fn to_byte_vec(&self) -> Result<Vec<u8>, MarshalError>
Attempts to serialize (marshal) to a byte vec. Read more
Source§fn from_bytes(bytes: &'de [u8]) -> Result<Self, MarshalError>
fn from_bytes(bytes: &'de [u8]) -> Result<Self, MarshalError>
Attempts to deserialize (unmarshal) from a byte slice. Read more