pub struct GetListRequest<'a> {
pub client_id: &'a [u8],
pub server_id: Option<ServerId<'a>>,
pub username: Option<&'a [u8]>,
pub password: Option<&'a [u8]>,
pub list_name: Option<&'a [u8]>,
}Expand description
SML_GetList.Req. Debug does not print the password.
Fields§
§client_id: &'a [u8]The client asking.
server_id: Option<ServerId<'a>>The device addressed, when there is more than one.
username: Option<&'a [u8]>The user name, when the device requires one.
password: Option<&'a [u8]>The password, when the device requires one.
list_name: Option<&'a [u8]>The list asked for, an OBIS code; absent for the default list.
Trait Implementations§
Source§impl<'a> Clone for GetListRequest<'a>
impl<'a> Clone for GetListRequest<'a>
impl<'a> Copy for GetListRequest<'a>
Source§impl Debug for GetListRequest<'_>
impl Debug for GetListRequest<'_>
impl<'a> Eq for GetListRequest<'a>
Source§impl<'a> PartialEq for GetListRequest<'a>
impl<'a> PartialEq for GetListRequest<'a>
impl<'a> StructuralPartialEq for GetListRequest<'a>
Auto Trait Implementations§
impl<'a> Forget for GetListRequest<'a>
impl<'a> Freeze for GetListRequest<'a>
impl<'a> Move for GetListRequest<'a>
impl<'a> RefUnwindSafe for GetListRequest<'a>
impl<'a> Send for GetListRequest<'a>
impl<'a> Sync for GetListRequest<'a>
impl<'a> Unpin for GetListRequest<'a>
impl<'a> UnsafeUnpin for GetListRequest<'a>where
&'a [u8]: UnsafeUnpin,
impl<'a> UnwindSafe for GetListRequest<'a>where
&'a [u8]: UnwindSafe,
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