pub struct TLAppInfo {
pub app_id: Uuid,
pub app_name: SmolStr,
pub app_version: SmolStr,
pub node_id: SmolStr,
pub static_data: HashMap<SmolStr, TLValue>,
pub data: HashMap<SmolStr, TLValue>,
}Fields§
§app_id: Uuid§app_name: SmolStr§app_version: SmolStr§node_id: SmolStr§static_data: HashMap<SmolStr, TLValue>§data: HashMap<SmolStr, TLValue>Implementations§
Source§impl TLAppInfo
impl TLAppInfo
pub fn new( app_id: impl Into<Uuid>, app_name: impl Into<SmolStr>, app_version: impl Into<SmolStr>, ) -> TLAppInfo
pub fn node_id(self, node_id: impl Into<SmolStr>) -> TLAppInfo
pub fn node_name(self, node_name: impl Into<SmolStr>) -> TLAppInfo
pub fn brief(self, brief: impl Into<SmolStr>) -> TLAppInfo
pub fn second_name(self, second_name: impl Into<SmolStr>) -> TLAppInfo
pub fn with_data( self, name: impl Into<SmolStr>, value: impl Into<TLValue>, ) -> TLAppInfo
pub fn with_static_data( self, name: impl Into<SmolStr>, value: impl Into<TLValue>, ) -> TLAppInfo
Trait Implementations§
Source§impl TLAppInfoExt for TLAppInfo
impl TLAppInfoExt for TLAppInfo
Auto Trait Implementations§
impl Freeze for TLAppInfo
impl RefUnwindSafe for TLAppInfo
impl Send for TLAppInfo
impl Sync for TLAppInfo
impl Unpin for TLAppInfo
impl UnwindSafe for TLAppInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request