MCPcopy Create free account
hub / github.com/Keats/jsonwebtoken / clone

Method clone

src/decoding.rs:30–32  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

28 T: Clone,
29{
30 fn clone(&self) -> Self {
31 Self { header: self.header.clone(), claims: self.claims.clone() }
32 }
33}
34
35/// Takes the result of a rsplit and ensure we only get 2 parts

Callers 6

validateFunction · 0.80
getMethod · 0.80
test_header_hashFunction · 0.80
newMethod · 0.80
round_tripFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_header_hashFunction · 0.64
round_tripFunction · 0.64