Jump to content

Rust Items Explained In Fewer Than 140 Characters: Difference between revisions

From Arkham Horror 2nd Edition
mNo edit summary
mNo edit summary
Line 1: Line 1:


  <h2>Demystifying Rust Items: A Comprehensive Guide to the Language's Structural Building Blocks</h2>  
  <h2>Demystifying Rust Items: A Comprehensive Guide to the Language's Structural Building Blocks</h2>  
  <p>When designers very first endeavor into the world of Rust, they quickly realize that the language approaches software engineering with a distinct blend of security, performance, and structural rigor. At the heart of Rust's architecture lies a fundamental concept understood as <strong>items</strong>. </p>  
  <p>When designers primary step into the world of Rust, they are often welcomed by rigorous compiler guidelines, an unyielding obtain checker, and an unique vocabulary. Terms like <em>cages</em>, <em>modules</em>, <em>characteristics</em>, and <em>macros</em> get considered with frequency. At the heart of this terms lies a fundamental concept that every Rustacean need to master: <strong>Items</strong>.</p>  
  <p>Understanding what items are, how they are arranged, and how they connect is necessary for mastering Rust. Whether composing a basic command-line utility or a complex asynchronous web server, designers constantly communicate with items. [https://md.sigma2.no/mPdPo_UCTTaZcYj6yqjHGg rust skin] out the anatomy of Rust items, classifies them, and offers a clear roadmap for using them efficiently.</p>  
  <p>In Rust, almost everything you compose at the module level is an item. Comprehending what items are, how they are structured, and how they communicate is crucial for writing idiomatic, scalable Rust code. This post will break down the anatomy of Rust items, explore their numerous types, and offer a roadmap for structuring your applications effectively.</p>  
  <hr>  
  <hr>  
  <h2>What Exactly is a Rust Item?</h2>  
  <h2>Exactly what is an Item in Rust?</h2>  
  <p>In Rust terminology, an <strong>item</strong> is a piece of code that lives at a module level. They are the called building blocks that make up a dog crate. Items specify types, arrange namespaces, execute reasoning, and declare macros. </p>  
  <p>In the official Rust Reference, an <strong>item</strong> is defined as an element of a cage. Items are the structural structure blocks of Rust programs. They define types, carry out reasoning, organize namespaces, and manage reliances. </p>  
  <p>Unlike statements or expressions-- which execute sequentially inside functions to perform calculations-- items specify the static structure of a Rust program. They are evaluated and solved mostly throughout compile time.</p>  
  <p>Unlike expressions, which assess to a worth at runtime, or declarations, which carry out actions within a function body, items exist at the module level (or the international scope of a cage). They are processed mostly at put together time, setting out the plan of the application before a single line of executable device code is run.</p>  
  <p>Every item in Rust has particular qualities:</p>  
  <h3>Secret Characteristics of Items:</h3>  
  <ul>  
  <ul>  
   <li><strong>Visibility:</strong> Items can be public (<code>bar</code>) or private (the default). Public items can be accessed by other cages or modules, whereas personal items are limited to the existing module and its descendants.</li>  
   <li><strong>Visibility:</strong> Every item has a visibility modifier (like <code>pub</code> or private by default), determining whether other modules can access it.</li>  
   <li><strong>Attributes:</strong> Items can be annotated with characteristics (e.g., <code># [obtain( Debug)], <code># [cfg( test)]) to modify their behavior, apply conditional collection, or create boilerplate code.</code></code></li>  
   <li><strong>Path Qualifiers:</strong> Items can be referenced utilizing paths (e.g., <code>std:: collections:: HashMap</code>).</li>  
   <li><code><code><strong>Call Resolution:</strong> Every item introduces a name into a namespace, enabling other parts of the program to reference it.</code></code></li>  
   <li><strong>Name Binding:</strong> Most items bind a name to a definition, such as a function name or a struct name.</li>  
  </ul>  
  </ul>  
  <hr>  
  <hr>  
  <h2><code><code>The Taxonomy of Rust Items</code></code></h2>  
  <h2>The Taxonomy of Rust Items</h2>  
  <p><code><code>Rust categorizes a number of unique constructs as items. To better understand how they fit together, let us analyze the primary classifications of items offered in the language.</code></code></p>  
  <p>Rust offers an abundant variety of items to deal with everything from low-level information structuring to top-level architectural abstraction. Below is an extensive breakdown of the main item types in Rust.</p>  
  <h3><code><code>Core Rust Items at a Glance</code></code></h3>  
  <h3>Core Rust Items at a Glance</h3>  
  <table>  
  <table>  
   <thead>  
   <thead>  
   <tr>  
   <tr>  
     <th align="left">Item Type</th>  
     <th align="left">Item Type</th>  
     <th align="left">Keyword/ Syntax</th>  
     <th align="left">Keyword</th>  
     <th align="left">Primary Purpose</th>  
     <th align="left">Main Purpose</th>  
   </tr>  
   </tr>  
   </thead>  
   </thead>  
Line 29: Line 29:
     <td align="left"><strong>Module</strong></td>  
     <td align="left"><strong>Module</strong></td>  
     <td align="left"><code>mod</code></td>  
     <td align="left"><code>mod</code></td>  
     <td align="left">Organizes code hierarchically into namespaces.</td>  
     <td align="left">Organizes code into hierarchical namespaces.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Function</strong></td>  
     <td align="left"><strong>Function</strong></td>  
     <td align="left"><code>fn</code></td>  
     <td align="left"><code>fn</code></td>  
     <td align="left">Specifies executable blocks of multiple-use reasoning.</td>  
     <td align="left">Defines multiple-use blocks of executable logic.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Struct</strong></td>  
     <td align="left"><strong>Struct</strong></td>  
     <td align="left"><code>struct</code></td>  
     <td align="left"><code>struct</code></td>  
     <td align="left">Groups related data fields together under a customized type.</td>  
     <td align="left">Custom information types grouping numerous fields together.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Enum</strong></td>  
     <td align="left"><strong>Enum</strong></td>  
     <td align="left"><code>enum</code></td>  
     <td align="left"><code>enum</code></td>  
     <td align="left">Defines a type that can be one of several distinct versions.</td>  
     <td align="left">Types representing one of a number of possible variants.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Quality</strong></td>  
     <td align="left"><strong>Quality</strong></td>  
     <td align="left"><code>quality</code></td>  
     <td align="left"><code>trait</code></td>  
     <td align="left">Specifies shared behavior that types can carry out.</td>
     <td align="left">Specifies shared behavior (user interfaces) for types.</td>  
  </tr>
  <tr>
    <td align="left"><strong>Application</strong></td>
    <td align="left"><code>impl</code></td>
    <td align="left">Attaches methods and characteristic executions to types.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Type Alias</strong></td>  
     <td align="left"><strong>Type Alias</strong></td>  
     <td align="left"><code>type</code></td>  
     <td align="left"><code>type</code></td>  
     <td align="left">Develops an alternative name for an existing type.</td>  
     <td align="left">Offers an existing type a new, more descriptive name.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Continuous</strong></td>  
     <td align="left"><strong>Const</strong></td>  
     <td align="left"><code>const</code></td>  
     <td align="left"><code>const</code></td>  
     <td align="left">States an unchangeable compile-time worth.</td>  
     <td align="left">Specifies an unchangeable compile-time constant worth.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Fixed Item</strong></td>  
     <td align="left"><strong>Fixed</strong></td>  
     <td align="left"><code>fixed</code></td>  
     <td align="left"><code>fixed</code></td>  
     <td align="left">Defines a worldwide variable with a fixed memory area.</td>  
     <td align="left">Defines a global variable with a fixed memory place.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Macro Definition</strong></td>  
     <td align="left"><strong>Macro</strong></td>  
     <td align="left"><code>macro_rules!</code></td>  
     <td align="left"><code>macro_rules!</code></td>  
     <td align="left">Produces declarative, pattern-matching macros.</td>  
     <td align="left">Metaprogramming constructs that write code.</td>
  </tr>
  <tr>
    <td align="left"><strong>Usage Declaration</strong></td>
    <td align="left"><code>use</code></td>
    <td align="left">Brings items into the present regional scope.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Extern Block</strong></td>  
     <td align="left"><strong>Extern Crate</strong></td>  
     <td align="left"><code>extern</code></td>  
     <td align="left"><code>extern dog crate</code></td>  
     <td align="left">User interfaces with foreign code (generally C/C++).</td>  
     <td align="left">Hyperlinks external external libraries to the current cage.</td>  
   </tr>  
   </tr>  
   </tbody>  
   </tbody>  
  </table>  
  </table>  
  <hr>  
  <hr>  
  <h2><code><code>Deep Dive into Essential Item Types</code></code></h2>  
  <h2>Deep Dive into Essential Items</h2>  
  <p><code><code>To genuinely understand how items determine the circulation and architecture of a Rust application, a better evaluation of the most often used items is needed.</code></code></p>  
  <p>To truly comprehend how items form a Rust program, let's examine some of the most frequently utilized items in information.</p>
  <h3><code><code>1. Modules (<code>mod</code>)</code></code></h3>  
<h3>1. Modules (<code>mod</code>)</h3>  
  <p><code><code>Modules are the main mechanism for code organization and privacy control in Rust. A module can be defined inline using curly braces or declared in a separate file (e.g., <code>mod networking;-RRB-. </code></code></code></p>  
  <p>Modules allow developers to partition code within a dog crate into smaller, manageable, and realistically organized compartments. [http://feswiki.com/index.php?title=You_Are_Responsible_For_An_Rust_Skin_Budget_12_Top_Notch_Ways_To_Spend_Your_Money click through the next internet site] assist control personal privacy limits and avoid namespace contamination.</p>  
<pre><code class="language-rust">club mod database bar fn connect() // Connection reasoning here</code></pre>  
<h3>2. Structs and Enums</h3>  
  <p>Information modeling in Rust relies greatly on <code>struct</code> and <code>enum</code> items. </p>  
  <ul>  
  <ul>  
   <li><code><code><code>They allow designers to group associated performance.</code></code></code></li>  
   <li><strong>Structs</strong> are comparable to things without approaches in other languages; they bundle heterogeneous information together.</li>  
   <li><code><code><code>They create a hierarchical course system (e.g., <code>crate:: network:: http:: connect</code>).</code></code></code></li>  
   <li><strong>Enums</strong> are amount types that can be among a number of versions, making them remarkably effective when coupled with pattern matching (<code>match</code>).</li>  
  </ul>  
  </ul>  
  <h3><code><code>2. Structs and Enums (<code>struct</code>, <code>enum</code>)</code></code></h3>  
  <pre><code class="language-rust">bar enum Status Active,Non-active,Pending( u32),// Enum variant holding informationbar struct User bar username: String,bar status: Status,</code></pre>  
  <p><code><code>Data modeling in Rust relies heavily on structs and enums. </code></code></p>  
  <h3>3. Traits (<code>characteristic</code>)</h3>  
  <ul>  
  <p>Characteristics are Rust's response to interfaces or mixins. They specify abstract sets of approaches that types must implement, allowing polymorphism and generic programs.</p>  
  <li><code><code><strong>Structs</strong> can be found in three tastes: named-field structs, tuple structs, and unit structs. They aggregate heterogeneous information into a unified structure.</code></code></li>  
<pre><code class="language-rust">club trait Summarizable fn summarize(&amp;&amp; self )- &gt; String;</code></pre>  
  <li><code><code><strong>Enums</strong> are amount types, profoundly more effective than enums in languages like C or Java, since Rust enums can hold information inside their variations. This forms the structure of Rust's pattern matching (<code>match</code> expressions).</code></code></li>  
  <hr>  
  </ul>  
  <h2>Organizing Items: Visibility and Paths</h2>  
  <h3><code><code>3. Characteristics and Implementations (<code>trait</code>, <code>impl</code>)</code></code></h3>  
<p>Composing items is just half the fight; knowing how to expose and access them throughout a codebase is where structural intricacy occurs.</p>  
  <p><code><code>Rust does not include conventional object-oriented inheritance. Instead, it depends on <strong>qualities</strong> for polymorphism. </code></code></p>  
<h3>Visibility Rules</h3>  
  <p>By default, all items in Rust are <strong>personal</strong> to the module they are specified in. To make them available outside their moms and dad module, designers need to use the <code>pub</code> keyword. Rust also provides fine-grained visibility modifiers:</p>  
  <ul>  
  <ul>  
   <li><code><code>A <strong>quality</strong> specifies a set of approaches that a type need to implement to satisfy an agreement.</code></code></li>  
   <li><code>pub(crate)</code>: Visible anywhere within the present crate.</li>  
   <li><code><code>An <strong>impl</strong> block is utilized to execute those characteristics for a specific type, or to attach intrinsic approaches directly to a struct or enum.</code></code></li>  
  <li><code>club(extremely)</code>: Visible just to the moms and dad module.</li>  
   <li><code>bar(in path)</code>: Visible within a specific designated path.</li>  
  </ul>  
  </ul>  
  <hr>  
  <h3>Utilizing Paths to Locate Items</h3>  
<h2><code><code>Presence and Accessibility of Items</code></code></h2>  
  <p>Because items are organized hierarchically in modules, Rust utilizes paths to reference them. Paths can be relative or outright:</p>  
  <p><code><code>Control over who can see and utilize an item is a cornerstone of Rust's module system. By default, every item is personal to its moms and dad module. </code></code></p>
<p><code><code>To expose an item outside its module, developers use the <code>pub</code> keyword. Rust likewise supplies innovative exposure modifiers to tweak gain access to:</code></code></p>  
  <ul>  
  <ul>  
   <li><code><code><code>pub</code>-- Visible anywhere the parent module is visible.</code></code></li>
   <li><strong>Absolute paths</strong> start with the dog crate name or <code>dog crate</code> keyword: <code>dog crate:: database:: connect()</code>.</li>  
  <li><code><code><code>bar( dog crate)</code>-- Visible anywhere within the existing crate.</code></code></li>  
   <li><strong>Relative courses</strong> begin with the current module using <code>self</code>, <code>incredibly</code>, or plain identifiers: <code>very:: link()</code>.</li>  
   <li><code><code><code>club( incredibly)</code>-- Visible only to the parent module.</code></code></li>
  <li><code><code><code>club( in path)</code>-- Visible just within a specific designated path.</code></code></li>  
  </ul>  
  </ul>  
<h3><code><code>Example: Structuring Items in a Module</code></code></h3>
<pre><code><code><code class="language-rust">bar mod database // A public struct defined at the module level (an item).club struct Connection url: String,.impl Connection // A public function (approach) related to the Connection item.club fn brand-new( url: &amp;&amp; str )- &gt; Self Self url: String:: from( url) pub fn connect( &amp; self )println!(" Connecting to database at:  ", self.url);.</code></code></code></pre>
<p><code><code>In the example above, <code>database</code> (a module), <code>Connection</code> (a struct), and <code>brand-new</code>/ <code>link</code> (functions/methods) are all items operating in consistency to encapsulate functionality.</code></code></p>
  <hr>  
  <hr>  
  <h2><code><code>Best Practices for Managing Rust Items</code></code></h2>  
  <h2>Best Practices for Managing Rust Items</h2>  
  <p><code><code>Designing a tidy Rust codebase needs mindful company of items. Following developed finest practices guarantees maintainable, scalable, and idiomatic code.</code></code></p>  
  <p>As a Rust job grows, monitoring items can end up being frustrating. Adhering to recognized community patterns guarantees your codebase remains maintainable.</p>  
  <ul>  
  <ul>  
   <li><code><code><strong>Group Related Code:</strong> Keep modules concentrated on a single responsibility. Prevent disposing unrelated items into an enormous <code>main.rs</code> or <code>lib.rs</code> file.</code></code></li>  
   <li><strong>Keep <code>main.rs</code> and <code>lib.rs</code> Tidy:</strong> Avoid writing sprawling reasoning in your root files. Instead, state your high-level modules (<code>mod network;</code>, <code>mod models;-RRB- in <code>main.rs</code> or <code>lib.rs</code> and delegate the actual item applications to different files.</code></li>  
   <li><code><code><strong>Leverage the File System:</strong> As tasks grow, map modules straight to files and directory sites. Utilize <code>mod.rs</code> (tradition) or contemporary file-based module declarations (where a file shares the name of the module).</code></code></li>  
   <li><code><strong>Leverage the <code>use</code> Keyword Wisely:</strong> Bring heavily used items into scope using <code>usage</code>, however avoid glob imports (<code>use module:: *;-RRB- in production libraries, as they pollute namespaces and make it tough to trace where an item came from.</code></code></li>  
   <li><code><code><strong>Keep Visibility Minimal:</strong> Expose just what is needed. A stringent public API surface reduces coupling and makes future refactoring much safer.</code></code></li>  
   <li><code><code><strong>Group Related Items:</strong> Place structs, their associated applications (<code>impl</code>), and their relevant traits within the same module to maintain high cohesion.</code></code></li>  
   <li><code><code><strong>Order Imports Logically:</strong> Use <code>use</code> statements to bring items into scope cleanly, grouping standard library imports separately from external dog crates and regional modules.</code></code></li>  
   <li><code><code><strong>File Public Items:</strong> Use documentation remarks (<code>///</code>) on all public items. Rust's documents generator (<code>freight doc</code>) depends on these items to construct abundant, hyperlinked paperwork for your dog crates.</code></code></li>  
  </ul>  
  </ul>  
  <hr>  
  <hr>  
  <p><code><code>Rust items are the fundamental vocabulary used to write expressive, safe, and performant code. By understanding what constitutes an item-- from modules and structs to traits and functions-- developers can structure their applications realistically while leveraging Rust's powerful type and module systems.</code></code></p>  
  <p><code><code>Items are the canvas upon which Rust programs are painted. From the low-level memory design defined by a <code>struct</code> to the overarching architecture mapped out by <code>mod</code> declarations, items determine how a Rust application looks, feels, and behaves. </code></code></p>  
  <p><code><code>As you continue your journey with Rust, pay close attention to how items communicate, how presence guidelines determine architecture, and how traits make it possible for versatile polymorphism. Mastering items is the ultimate secret to opening the real power of the Rust shows language.</code></code></p>
  <p><code><code>By mastering items-- understanding their presence, scoping guidelines, and how they relate to one another-- developers can write cleaner, more modular, and naturally more secure Rust code. Whether you are building a little command-line utility or a massive dispersed system, a solid grasp of Rust items is an essential tool in your programming toolbox.</code></code></p>
  <code><code><br><img width="320" src="https://rusthub.com/Logo.svg"><br></code></code>
  <code><code><br><img width="473" src="https://rusthub.com/Logo.svg"><br></code></code>

Revision as of 01:26, 25 October 2026

Demystifying Rust Items: A Comprehensive Guide to the Language's Structural Building Blocks

When designers primary step into the world of Rust, they are often welcomed by rigorous compiler guidelines, an unyielding obtain checker, and an unique vocabulary. Terms like cages, modules, characteristics, and macros get considered with frequency. At the heart of this terms lies a fundamental concept that every Rustacean need to master: Items.

In Rust, almost everything you compose at the module level is an item. Comprehending what items are, how they are structured, and how they communicate is crucial for writing idiomatic, scalable Rust code. This post will break down the anatomy of Rust items, explore their numerous types, and offer a roadmap for structuring your applications effectively.


Exactly what is an Item in Rust?

In the official Rust Reference, an item is defined as an element of a cage. Items are the structural structure blocks of Rust programs. They define types, carry out reasoning, organize namespaces, and manage reliances.

Unlike expressions, which assess to a worth at runtime, or declarations, which carry out actions within a function body, items exist at the module level (or the international scope of a cage). They are processed mostly at put together time, setting out the plan of the application before a single line of executable device code is run.

Secret Characteristics of Items:

  • Visibility: Every item has a visibility modifier (like pub or private by default), determining whether other modules can access it.
  • Path Qualifiers: Items can be referenced utilizing paths (e.g., std:: collections:: HashMap).
  • Name Binding: Most items bind a name to a definition, such as a function name or a struct name.

The Taxonomy of Rust Items

Rust offers an abundant variety of items to deal with everything from low-level information structuring to top-level architectural abstraction. Below is an extensive breakdown of the main item types in Rust.

Core Rust Items at a Glance

<thead> </thead> <tbody> </tbody>
Item Type Keyword Main Purpose
Module mod Organizes code into hierarchical namespaces.
Function fn Defines multiple-use blocks of executable logic.
Struct struct Custom information types grouping numerous fields together.
Enum enum Types representing one of a number of possible variants.
Quality trait Specifies shared behavior (user interfaces) for types.
Type Alias type Offers an existing type a new, more descriptive name.
Const const Specifies an unchangeable compile-time constant worth.
Fixed fixed Defines a global variable with a fixed memory place.
Macro macro_rules! Metaprogramming constructs that write code.
Usage Declaration use Brings items into the present regional scope.
Extern Crate extern dog crate Hyperlinks external external libraries to the current cage.

Deep Dive into Essential Items

To truly comprehend how items form a Rust program, let's examine some of the most frequently utilized items in information.

1. Modules (mod)

Modules allow developers to partition code within a dog crate into smaller, manageable, and realistically organized compartments. click through the next internet site assist control personal privacy limits and avoid namespace contamination.

<code class="language-rust">club mod database bar fn connect() // Connection reasoning here</code>

2. Structs and Enums

Information modeling in Rust relies greatly on struct and enum items.

  • Structs are comparable to things without approaches in other languages; they bundle heterogeneous information together.
  • Enums are amount types that can be among a number of versions, making them remarkably effective when coupled with pattern matching (match).
<code class="language-rust">bar enum Status Active,Non-active,Pending( u32),// Enum variant holding informationbar struct User bar username: String,bar status: Status,</code>

3. Traits (characteristic)

Characteristics are Rust's response to interfaces or mixins. They specify abstract sets of approaches that types must implement, allowing polymorphism and generic programs.

<code class="language-rust">club trait Summarizable fn summarize(&& self )- > String;</code>

Organizing Items: Visibility and Paths

Composing items is just half the fight; knowing how to expose and access them throughout a codebase is where structural intricacy occurs.

Visibility Rules

By default, all items in Rust are personal to the module they are specified in. To make them available outside their moms and dad module, designers need to use the pub keyword. Rust also provides fine-grained visibility modifiers:

  • pub(crate): Visible anywhere within the present crate.
  • club(extremely): Visible just to the moms and dad module.
  • bar(in path): Visible within a specific designated path.

Utilizing Paths to Locate Items

Because items are organized hierarchically in modules, Rust utilizes paths to reference them. Paths can be relative or outright:

  • Absolute paths start with the dog crate name or dog crate keyword: dog crate:: database:: connect().
  • Relative courses begin with the current module using self, incredibly, or plain identifiers: very:: link().

Best Practices for Managing Rust Items

As a Rust job grows, monitoring items can end up being frustrating. Adhering to recognized community patterns guarantees your codebase remains maintainable.

  • Keep main.rs and lib.rs Tidy: Avoid writing sprawling reasoning in your root files. Instead, state your high-level modules (mod network;, mod models;-RRB- in main.rs or lib.rs and delegate the actual item applications to different files.
  • Leverage the use Keyword Wisely: Bring heavily used items into scope using usage, however avoid glob imports (use module:: *;-RRB- in production libraries, as they pollute namespaces and make it tough to trace where an item came from.
  • Group Related Items: Place structs, their associated applications (impl), and their relevant traits within the same module to maintain high cohesion.
  • File Public Items: Use documentation remarks (///) on all public items. Rust's documents generator (freight doc) depends on these items to construct abundant, hyperlinked paperwork for your dog crates.

Items are the canvas upon which Rust programs are painted. From the low-level memory design defined by a struct to the overarching architecture mapped out by mod declarations, items determine how a Rust application looks, feels, and behaves.

By mastering items-- understanding their presence, scoping guidelines, and how they relate to one another-- developers can write cleaner, more modular, and naturally more secure Rust code. Whether you are building a little command-line utility or a massive dispersed system, a solid grasp of Rust items is an essential tool in your programming toolbox.


<img width="473" src="https://rusthub.com/Logo.svg">