pub struct ListProtocolsResponse {
pub protocols: Vec<u16>,
}
Expand description
A response to a list_protocols
request.
Please refer to the LSPS0 specification for more information.
Fields§
§protocols: Vec<u16>
A list of supported protocols.
Trait Implementations§
Source§impl Clone for ListProtocolsResponse
impl Clone for ListProtocolsResponse
Source§fn clone(&self) -> ListProtocolsResponse
fn clone(&self) -> ListProtocolsResponse
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 ListProtocolsResponse
impl Debug for ListProtocolsResponse
Source§impl<'de> Deserialize<'de> for ListProtocolsResponse
impl<'de> Deserialize<'de> for ListProtocolsResponse
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 ListProtocolsResponse
impl PartialEq for ListProtocolsResponse
Source§impl Serialize for ListProtocolsResponse
impl Serialize for ListProtocolsResponse
impl Eq for ListProtocolsResponse
impl StructuralPartialEq for ListProtocolsResponse
Auto Trait Implementations§
impl Freeze for ListProtocolsResponse
impl RefUnwindSafe for ListProtocolsResponse
impl Send for ListProtocolsResponse
impl Sync for ListProtocolsResponse
impl Unpin for ListProtocolsResponse
impl UnwindSafe for ListProtocolsResponse
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