Struct someip_messages::HeaderBuilder
source · pub struct HeaderBuilder { /* private fields */ }
Expand description
Builder for Header
.
Implementations§
source§impl HeaderBuilder
impl HeaderBuilder
sourcepub fn message_id(&mut self, value: MessageId) -> &mut Self
pub fn message_id(&mut self, value: MessageId) -> &mut Self
Message id
sourcepub fn request_id(&mut self, value: RequestId) -> &mut Self
pub fn request_id(&mut self, value: RequestId) -> &mut Self
Request id
sourcepub fn protocol_version(&mut self, value: ProtocolVersion) -> &mut Self
pub fn protocol_version(&mut self, value: ProtocolVersion) -> &mut Self
Protocol version
sourcepub fn interface_version(&mut self, value: InterfaceVersion) -> &mut Self
pub fn interface_version(&mut self, value: InterfaceVersion) -> &mut Self
Interface version
sourcepub fn message_type(&mut self, value: MessageType) -> &mut Self
pub fn message_type(&mut self, value: MessageType) -> &mut Self
Message type
sourcepub fn return_code(&mut self, value: ReturnCode) -> &mut Self
pub fn return_code(&mut self, value: ReturnCode) -> &mut Self
Return code
Trait Implementations§
source§impl Clone for HeaderBuilder
impl Clone for HeaderBuilder
source§fn clone(&self) -> HeaderBuilder
fn clone(&self) -> HeaderBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for HeaderBuilder
impl Send for HeaderBuilder
impl Sync for HeaderBuilder
impl Unpin for HeaderBuilder
impl UnwindSafe for HeaderBuilder
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