Function alpaca::parsing::parse_object_kind
[−]
[src]
pub fn parse_object_kind(raw: &[u8], request: &str) -> ObjectKind
Parses the object's kind from its raw representation and the associated request.
XXX: if we realise that request
is not needed to determine
the object's kind, we can remove it from here and from
objects::Object::from()
.