pub struct DocumentAdvert {
pub id: String,
pub component_id: String,
pub feed_channel: String,
pub authoring_channel: String,
pub blink_interval_ms: u64,
}Expand description
What the authoring page needs to bind the frame:code-editor@v1
component: the document id, the component instance, and the two
channels (C2: feed + authoring per document).
Fields§
§id: StringThe bound document id.
component_id: StringThe component instance id on every feed envelope.
feed_channel: StringThe feed channel (service publishes; pages subscribe).
The authoring channel (pages publish; the service subscribes).
blink_interval_ms: u64The component’s declared cursor-blink interval (T4), milliseconds.
Trait Implementations§
Source§impl Clone for DocumentAdvert
impl Clone for DocumentAdvert
Source§fn clone(&self) -> DocumentAdvert
fn clone(&self) -> DocumentAdvert
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentAdvert
impl Debug for DocumentAdvert
Auto Trait Implementations§
impl Freeze for DocumentAdvert
impl RefUnwindSafe for DocumentAdvert
impl Send for DocumentAdvert
impl Sync for DocumentAdvert
impl Unpin for DocumentAdvert
impl UnsafeUnpin for DocumentAdvert
impl UnwindSafe for DocumentAdvert
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
Source§impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request