MCPcopy Create free account
hub / github.com/bajrangCoder/setu / new

Method new

src/entities/collections.rs:28–33  ·  view source on GitHub ↗
(request: RequestData)

Source from the content-addressed store, hash-verified

26 #[serde(deserialize_with = "deserialize_saved_request")]
27 pub request: SavedRequestData,
28}
29
30impl CollectionRequestNode {
31 pub fn new(request: RequestData) -> Self {
32 Self {
33 id: Uuid::new_v4(),
34 request: SavedRequestData::Http(request),
35 }
36 }

Callers

nothing calls this directly

Calls 1

load_from_fileMethod · 0.45

Tested by

no test coverage detected