feat: Example output
This commit is contained in:
		
							parent
							
								
									fd2b49e190
								
							
						
					
					
						commit
						47947fc914
					
				| @ -59,3 +59,43 @@ fn main() { | ||||
|     let obj: Cl2 = serde_json::from_str(&json).unwrap(); | ||||
|     dbg!(obj); | ||||
| } | ||||
| 
 | ||||
| /// Output:
 | ||||
| ///
 | ||||
| /// [src/main.rs:58] &json = "{\"cache\":[[[4,5,6],{\"path\":[4,5,6],\"count\":87}],[[1,2,3],{\"path\":[1,2,3],\"count\":37}]]}"
 | ||||
| /// [src/main.rs:60] obj = Cl2 {
 | ||||
| ///     cache: {
 | ||||
| ///         Path(
 | ||||
| ///             [
 | ||||
| ///                 1,
 | ||||
| ///                 2,
 | ||||
| ///                 3,
 | ||||
| ///             ],
 | ||||
| ///         ): Rel {
 | ||||
| ///             path: Path(
 | ||||
| ///                 [
 | ||||
| ///                     1,
 | ||||
| ///                     2,
 | ||||
| ///                     3,
 | ||||
| ///                 ],
 | ||||
| ///             ),
 | ||||
| ///             count: 37,
 | ||||
| ///         },
 | ||||
| ///         Path(
 | ||||
| ///             [
 | ||||
| ///                 4,
 | ||||
| ///                 5,
 | ||||
| ///                 6,
 | ||||
| ///             ],
 | ||||
| ///         ): Rel {
 | ||||
| ///             path: Path(
 | ||||
| ///                 [
 | ||||
| ///                     4,
 | ||||
| ///                     5,
 | ||||
| ///                     6,
 | ||||
| ///                 ],
 | ||||
| ///             ),
 | ||||
| ///             count: 87,
 | ||||
| ///         },
 | ||||
| ///     },
 | ||||
| /// }
 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user