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>, ) -> Self
pub fn node_id(self, node_id: impl Into<SmolStr>) -> Self
pub fn node_name(self, node_name: impl Into<SmolStr>) -> Self
pub fn brief(self, brief: impl Into<SmolStr>) -> Self
pub fn second_name(self, second_name: impl Into<SmolStr>) -> Self
pub fn with_data( self, name: impl Into<SmolStr>, value: impl Into<TLValue>, ) -> Self
pub fn with_static_data( self, name: impl Into<SmolStr>, value: impl Into<TLValue>, ) -> Self
Trait Implementations§
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