pub fn create_forward_header(self, new_sender: String) -> MessageHeaderBuilder {
        MessageHeaderBuilder {
            old_data: self,
            sender: new_sender,
            destination: None,
            hops: None,
            ttl: None,
            payload: None,
        }
    }
///Used to create another header based on the current one. This is the recommended way
///to create response messages in order to preserve metadata such as TTL and hops, which
///are updated automatically.
Used to create another header based on the current one. This is the recommended way
to create response messages in order to preserve metadata such as TTL and hops, which
are updated automatically.
Used to create another header based on the current one . This is the recommended way to create response messages in order to preserve metadata such as TTL and hops which are updated automatically .
pub fn create_forward_header(self, new_sender: String) -> MessageHeaderBuilder {
        MessageHeaderBuilder {
            old_data: self,
            sender: new_sender,
            destination: None,
            hops: None,
            ttl: None,
            payload: None,
        }
    }
pub fn create_forward_header ( self , new_sender : String ) -> MessageHeaderBuilder { MessageHeaderBuilder { old_data : self , sender : new_sender , destination : None , hops : None , ttl : None , payload : None , } }
Used to create another header based on the current one.
Used to create another header based on the current one .
self
new_sender
String