pub struct UiScrollMessage {
pub client_id: String,
pub component: UiSiteComponent,
pub instance_id: String,
pub offset: u64,
pub follow_end: Option<bool>,
pub uuid: String,
pub session_id: String,
}Expand description
system/ui_scroll — a plugin’s $.ui.scroll moved the window of a site
a remote surface draws: the surface scrolls the site’s body there. The
person’s own scrolls are never pushed back (CLI 2.1.285+).
Fields§
§client_id: StringThe client drawing the site, as it attached.
component: UiSiteComponentWhich site: a pane’s body or the band above the prompt.
instance_id: StringThe pane’s id, or above-prompt for the band.
offset: u64The first content row the window is to show, 0 at the top, clamped to the tree as the surface last reported it.
follow_end: Option<bool>true: keep the window on the tree’s last rows through the draws to
come, until the person or a plugin next moves it.
uuid: String§session_id: StringTrait Implementations§
Source§impl Clone for UiScrollMessage
impl Clone for UiScrollMessage
Source§impl Debug for UiScrollMessage
impl Debug for UiScrollMessage
Source§impl<'de> Deserialize<'de> for UiScrollMessage
impl<'de> Deserialize<'de> for UiScrollMessage
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 Freeze for UiScrollMessage
impl RefUnwindSafe for UiScrollMessage
impl Send for UiScrollMessage
impl Sync for UiScrollMessage
impl Unpin for UiScrollMessage
impl UnsafeUnpin for UiScrollMessage
impl UnwindSafe for UiScrollMessage
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