This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "did": "did:plc:tahmjtpwnkuhopngqe5q7jp2" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Directive which signals that access to a particular field or object is gated behind login | |
| directive @authz_loggedin on OBJECT | FIELD_DEFINITION | |
| # Directive which signals that access to a particular field or object is restricted to either | |
| # the user who owns it or one of our employees | |
| directive @authz_internal_or_user on OBJECT | FIELD_DEFINITION | |
| # Directive which signals that access to a particular field or object requires ownership of the content | |
| directive @authz_owns_content on OBJECT | FIELD_DEFINITION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::mem; | |
| fn main() { | |
| println!("Hello, let's have some fun with pointers!"); | |
| // Create some data we don't care about | |
| let dummy = Foo { a: -34, b: 5.495, c: true }; | |
| // Let's get some info on where our dummy lives | |
| let ptr = &dummy as *const Foo; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB94AAARpCAYAAACI3KzqAAAABHNCSVQICAgIfAhkiAAAABl0RVh0U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AACAASURBVHic7L1ZlGTJed/3i4h7c6m1q3ume/aVBDgAMTOgQAIkJUAUaZOUjmTTMLWcY1nL8bOO7SMdH/HdT5ZfJNGmfGTK9oslkVoIEUciSBOkIPIQIAmKWAQQ07MC09P7TNeWlXlvxOeHiLhb3szKqsrqrine/0x2VmbeGxE34otvjfhCAcIMXN7oz/rpfQWFoNRx79YIgihBAEEDkKYp9+7t8Oqb32GQAPoCWS5MVg2/+K/+PRfcmIfX+uyqVSZ6wFhnWG2BA9AjQAMJyqVodwHI0WofBEyjBbnWoBSaBIXCKo0c4YFEBERwCLkITlz7kyqNUqr2KqHCS5hDMou1BVf5+6j3+ncn7sj3dzjDEMLMOj4ceBLt0KFDh9PEEviVAHIe+NUZ4d1KTlbEuRmPDgVOShOwBNoUQZ9AZ14eog5/PJyb+XFGeLcStwTaVJzAuO3QoUOHxXASOaao+ZPUMXhW4e8RL8eO6/9ZDu8+viQtn91N9cuiqD679+8dtREnH4+y7pONxzJwVuTxyTWLDsvDyXzVJR7cmDbn5XF5RZwfx5mjy7Chmni/+mpjXxxmSaXOwSRn0tvknZ2crZ7jz/3g92KMpp9AYhQ94+kz0YIxBq1LOlvGuHfo0OHBYzgcTn2XPIB2nCtordEaMgdaG1Caxx5/nI88doknH95gXyvGSjHRQqbBixyHZ9sahUI75Rm5EhRgGrIxD/w4BuRz1MLqRF1ACHnlc5WVS+3v5TP5ap3V1h/VFdhUpc6CO7PDcrCU4E2HDh063AcsJXizjIacAZwF3n2ysOL5Go8OHielCVgObZ4Hd+x5mh9ngXefFdrs0KFDh0VwEr55Ur9NcxvISdrxoHn3WeiLZbbhJO1YBs7CmH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // error: iterator() in Foo cannot implement iterator() in Iterable | |
| // public class Bar extends Foo { | |
| // ^ | |
| // return type Iterator<Map<String,String>> is not compatible with Iterator<Map<String,? extends String>> | |
| // where T is a type-variable: | |
| // T extends Object declared in interface Iterable | |
| public class Bar extends Foo {} |