pub struct PhpCallResult {
pub status: u16,
pub body: String,
pub content_type: String,
}Expand description
Result of a JS→PHP call.
Fields§
§status: u16§body: String§content_type: StringTrait Implementations§
Source§impl Clone for PhpCallResult
impl Clone for PhpCallResult
Source§fn clone(&self) -> PhpCallResult
fn clone(&self) -> PhpCallResult
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 moreAuto Trait Implementations§
impl Freeze for PhpCallResult
impl RefUnwindSafe for PhpCallResult
impl Send for PhpCallResult
impl Sync for PhpCallResult
impl Unpin for PhpCallResult
impl UnsafeUnpin for PhpCallResult
impl UnwindSafe for PhpCallResult
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