Struct cetacea_proto::client::events::group::room_v1::SyncRoomRequestV1
source · pub struct SyncRoomRequestV1 { /* private fields */ }Expand description
The sync room request.
limit is the max number of events to return. If only from_event_id is
set, the server will return the events after from_event_id. if only
to_event_id is set, the server will return the events before
to_event_id. if both from_event_id and to_event_id are set, the server
will return the events between from_event_id and to_event_id. .
| limit | yes/no |
|---|---|
| rate limit | yes |
| require auth | yes |
may return [crate::error_code::ErrorCode::InvalidEventId] if the event id
is invalid.
POST /client/room_v1/<roomid>/sync
Trait Implementations§
source§impl Debug for SyncRoomRequestV1
impl Debug for SyncRoomRequestV1
source§impl<'de> Deserialize<'de> for SyncRoomRequestV1
impl<'de> Deserialize<'de> for SyncRoomRequestV1
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
Auto Trait Implementations§
impl RefUnwindSafe for SyncRoomRequestV1
impl Send for SyncRoomRequestV1
impl Sync for SyncRoomRequestV1
impl Unpin for SyncRoomRequestV1
impl UnwindSafe for SyncRoomRequestV1
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
impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:80 bytes