Skip to content

How to construct a ContentLocation? #192

Open
@sazzer

Description

@sazzer

I feel like I'm missing something obvious here.

The ContentLocation struct has a private field, so can't be directly constructed. It's also got no new() method and doesn't seem to implement From, TryFrom, FromStr or anything else like that in any useful manner that I can see.

There are also no examples in the RustDoc, and the tests are all in the same module so can construct the struct directly even though my code can't.

So, what am I missing?

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions