pub struct RestSyncRequest {
pub method: Method,
pub entity_id: Uuid,
pub headers: HeaderMap,
pub body: Value,
}Expand description
One immutable sync operation encoded as an ordinary serializer JSON write.
Fields§
§method: Method§entity_id: Uuid§headers: HeaderMap§body: ValueImplementations§
Source§impl RestSyncRequest
impl RestSyncRequest
pub fn new<M, S>(request: PushRequest) -> Result<Self, OrmError>where
M: SyncModel,
S: ModelSerializer<Model = M>,
Auto Trait Implementations§
impl Forget for RestSyncRequest
impl Freeze for RestSyncRequest
impl Move for RestSyncRequest
impl RefUnwindSafe for RestSyncRequest
impl Send for RestSyncRequest
impl Sync for RestSyncRequest
impl Unpin for RestSyncRequest
impl UnsafeUnpin for RestSyncRequest
impl UnwindSafe for RestSyncRequest
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