Struct psibase::services::common_api::action_structs::serveSys
source · pub struct serveSys {
pub request: HttpRequest,
}Expand description
This structure has the same JSON and Fracpack format as the arguments to Actions::serveSys.
Fields§
§request: HttpRequestTrait Implementations§
source§impl<'de> Deserialize<'de> for serveSys
impl<'de> Deserialize<'de> for serveSys
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<'a> Unpack<'a> for serveSys
impl<'a> Unpack<'a> for serveSys
source§fn unpack(src: &'a [u8], pos: &mut u32) -> Result<Self>
fn unpack(src: &'a [u8], pos: &mut u32) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
source§fn verify(src: &'a [u8], pos: &mut u32) -> Result<()>
fn verify(src: &'a [u8], pos: &mut u32) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for serveSys
impl RefUnwindSafe for serveSys
impl Send for serveSys
impl Sync for serveSys
impl Unpin for serveSys
impl UnwindSafe for serveSys
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