pub struct UtcTimeSynchronizationRequest {
pub utc_date_time: BacnetDateTime,
}Expand description
UTC Time Synchronization request (unconfirmed service)
Fields§
§utc_date_time: BacnetDateTimeUTC date and time to synchronize to
Implementations§
Source§impl UtcTimeSynchronizationRequest
impl UtcTimeSynchronizationRequest
Sourcepub fn new(utc_date_time: BacnetDateTime) -> Self
pub fn new(utc_date_time: BacnetDateTime) -> Self
Create a new UTC Time Synchronization request
Sourcepub fn encode(&self, buffer: &mut Vec<u8>) -> EncodingResult<()>
pub fn encode(&self, buffer: &mut Vec<u8>) -> EncodingResult<()>
Encode the UTC Time Synchronization request
Sourcepub fn decode(data: &[u8]) -> EncodingResult<Self>
pub fn decode(data: &[u8]) -> EncodingResult<Self>
Decode a UTC Time Synchronization request
Trait Implementations§
Source§impl Clone for UtcTimeSynchronizationRequest
impl Clone for UtcTimeSynchronizationRequest
Source§fn clone(&self) -> UtcTimeSynchronizationRequest
fn clone(&self) -> UtcTimeSynchronizationRequest
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 moreAuto Trait Implementations§
impl Freeze for UtcTimeSynchronizationRequest
impl RefUnwindSafe for UtcTimeSynchronizationRequest
impl Send for UtcTimeSynchronizationRequest
impl Sync for UtcTimeSynchronizationRequest
impl Unpin for UtcTimeSynchronizationRequest
impl UnsafeUnpin for UtcTimeSynchronizationRequest
impl UnwindSafe for UtcTimeSynchronizationRequest
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