Std.Http.Multipart.declaredTypeOf
1 declaration
fn
declaredTypeOf: &Std.Http.Multipart.Part -> Option[Str]This is a callable function.
What it does
What the sender said the file is.
Carried because a program may want it, and never treated as a fact about
the bytes: it is a claim by whoever sent them, and a program that decides
what to do from this alone has let the sender choose.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
- Names inside [ ] are type arguments, such as the item type held by a collection.
- Option holds Some(value) or None when no value is available.
