pub struct SetWebhookResponse {
pub num_webhooks: u32,
pub max_webhooks: u32,
pub no_change: bool,
}Expand description
Response for lsps5.set_webhook.
Fields§
§num_webhooks: u32Current number of webhooks registered for this client.
max_webhooks: u32Maximum number of webhooks allowed by LSP.
no_change: boolWhether this is an unchanged registration.
Trait Implementations§
Source§impl Clone for SetWebhookResponse
impl Clone for SetWebhookResponse
Source§fn clone(&self) -> SetWebhookResponse
fn clone(&self) -> SetWebhookResponse
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 moreSource§impl Debug for SetWebhookResponse
impl Debug for SetWebhookResponse
Source§impl<'de> Deserialize<'de> for SetWebhookResponse
impl<'de> Deserialize<'de> for SetWebhookResponse
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
Source§impl PartialEq for SetWebhookResponse
impl PartialEq for SetWebhookResponse
Source§impl Serialize for SetWebhookResponse
impl Serialize for SetWebhookResponse
impl Eq for SetWebhookResponse
impl StructuralPartialEq for SetWebhookResponse
Auto Trait Implementations§
impl Freeze for SetWebhookResponse
impl RefUnwindSafe for SetWebhookResponse
impl Send for SetWebhookResponse
impl Sync for SetWebhookResponse
impl Unpin for SetWebhookResponse
impl UnwindSafe for SetWebhookResponse
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